[arquillian-issues] [JBoss JIRA] (ARQ-1845) BeforeSuite and AfterSuite events triggered for every class in Eclipse since ARQ-1803

Aslak Knutsen (JIRA) issues at jboss.org
Thu Jan 22 07:24:49 EST 2015


     [ https://issues.jboss.org/browse/ARQ-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aslak Knutsen resolved ARQ-1845.
--------------------------------
      Assignee: Aslak Knutsen
    Resolution: Done


Pushed upstream https://github.com/arquillian/arquillian-core/commit/7af8c0cc6ea717147ddbdf4bd99c9e35749d8687

> BeforeSuite and AfterSuite events triggered for every class in Eclipse since ARQ-1803
> -------------------------------------------------------------------------------------
>
>                 Key: ARQ-1845
>                 URL: https://issues.jboss.org/browse/ARQ-1845
>             Project: Arquillian
>          Issue Type: Bug
>          Components: Test Harness Integration
>    Affects Versions: 1.1.5.Final
>            Reporter: Emond Papegaaij
>            Assignee: Aslak Knutsen
>             Fix For: 1.1.6.Final
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the arquillian-issues mailing list