1 Reply Latest reply on Mar 23, 2012 5:09 PM by Aslak Knutsen

    Doing @RunWith(Arquillian) in TestNG

    Vladimir Blagojevic Master



      I cannot extend Arquillian class as we have already built a testing class hierarchy that all test classes have to extend. What are my option?




        • 1. Re: Doing @RunWith(Arquillian) in TestNG
          Aslak Knutsen Master

          Non at the moment that I can think of. We have a open issue on moving Arquillian TestNG to use the @Listeners() hook, but what we have access to is currently not powerful enough to do what we want..


          You could 'move' your Base Class functionallity to be a Arquillian Extension instead of a baseclass and have everything run using Arquillian, but that might be a bit of a strach. (Arquillian can run without Container / Deployments etc, as just a common integration layer between test frameworks)