[arquillian-issues] [JBoss JIRA] (ARQ-746) Run tests on different containers, stopping and starting them between tests (with automatic grouping).

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Mon Feb 13 05:54:01 EST 2012


Ondrej Zizka created ARQ-746:
--------------------------------

             Summary: Run tests on different containers, stopping and starting them between tests (with automatic grouping).
                 Key: ARQ-746
                 URL: https://issues.jboss.org/browse/ARQ-746
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
    Affects Versions: 1.0.0.CR5
            Reporter: Ondrej Zizka
            Assignee: Aslak Knutsen


Tests would have {{@ContainerInstance("InstanceName")}}.

As Arquillian would run these tests, it would stop the currently running container and start the other one.

{code:java}
@TestCase @ContainerInstance("InstanceFoo")
class TestsToBeRunOnFooTestCase { ... }

@TestCase @ContainerInstance("InstanceBar")
class TestsToBeRunOnBarTestCase { ... }

@TestCase @ContainerInstance("InstanceFoo")
class TestsToBeRunOnFoo2TestCase { ... }
{code}

With this setup, Arq would:

  * start InstanceFoo
     * run TestsToBeRunOnFooTestCase
     * run TestsToBeRunOnFoo2TestCase
  * stop InstanceFoo
  * start InstanceBar
    * run TestsToBeRunOnBarTestCase.
  * stop InstanceBar


To optimize a bit, Arquillian could order the test to group them by instance name.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list