[
https://issues.jboss.org/browse/ARQ-197?page=com.atlassian.jira.plugin.sy...
]
Geoffrey De Smet commented on ARQ-197:
--------------------------------------
The common practice is to have 1 superclass AbstractTest per shared
container(=deployment):
{code}
abstract class AbstractNormalGuvnorTest {
@Deployment ...
}
class AssetTest extends AbstractNormalGuvnorTest {
@Test ...
@Test ...
}
class CategoryTest extends AbstractNormalGuvnorTest {
@Test ...
@Test ...
}
class AdminTest extends AbstractNormalGuvnorTest {
@Test ...
@Test ...
}
class OverwiteSecurityInWeldConfigTest {
@Deployment ...
@Test ...
@Test ...
}
{code}
This gives 8 tests with only 2 deployments: the first 6 share a deployment and the last 2
share a deployment.
Research support for @Deployment on multiple levels
---------------------------------------------------
Key: ARQ-197
URL:
https://issues.jboss.org/browse/ARQ-197
Project: Arquillian
Issue Type: Feature Request
Components: Base Implementation
Reporter: Aslak Knutsen
Priority: Minor
Fix For: 1.1.0.CR1
One deployment pr TestCase might not always be the ideal solution. Research how we can
deploy multiple TestCases with one Deployment and test them all at once.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira