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

BeforeSuite and AfterSuite events triggered for every class in Eclipse since ARQ-1803

    XMLWordPrintable

Details

    Description

      The change made in ARQ-1803 broke the Eclipse hack that should prevent Before- and AfterSuite events for every class. Eclipse creates an Arquillian instance for every class to be tested before the tests are actually started. The State.runnerStarted() was placed in the constructor to count the number of tests created, so only the last test would fire AfterSuite. See the comment in org.jboss.arquillian.junit.State for more info.

      This is a major regression for us, as we depend on the arquillian-suite-extension to only deploy the application once. Deploying the application takes over a minute, adding significant time to our test runs under Eclipse.

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: