[
https://issues.jboss.org/browse/ARQ-746?page=com.atlassian.jira.plugin.sy...
]
Ondrej Zizka updated ARQ-746:
-----------------------------
Description:
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.
was:
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.
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