Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-50

research an alternative approach to inheriting from Arquillian base class in TestNG

    XMLWordPrintable

Details

    • Medium

    Description

      This issue is a research and development task to determine if there is an alternative approach that can be used, rather than inheriting from the Arquillian base class, to hook a TestNG test into the Arquillian functionality. JUnit offers a @RunWith annotation which is what the JUnit module uses. The closest hook TestNG seems to offer is the ITestListener interface. However, the question becomes, how does that map to the requirements:

      @BeforeSuite -> start container (~ ITestListener.onStart)
      @BeforeClass -> deploy (??)
      TestMethod/IHookable -> remote call (??)
      @AfterClass -> undeploy -> (??)
      @AfterSuite -> stop container -> (~ ITestListener.onFinish)

      There was discussion on this thread about supporting @RunWith in TestNG: http://markmail.org/message/fxm6bddk6wzqa4yp

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            dan.j.allen Dan Allen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: