[arquillian-issues] [JBoss JIRA] (ARQ-646) TestNG groups can only be used to run non Arquillian tests
Aslak Knutsen (Created) (JIRA)
jira-events at lists.jboss.org
Tue Nov 8 14:04:45 EST 2011
TestNG groups can only be used to run non Arquillian tests
----------------------------------------------------------
Key: ARQ-646
URL: https://issues.jboss.org/browse/ARQ-646
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Test Harness Integration
Affects Versions: 1.0.0.Final
Reporter: Aslak Knutsen
There seems to be a limitation in how groups are executed / discovered in TestNG.
You can mix Arquillian and non Arquillian test in the same Test Suite by including the non Arquillian tests groups, but not the other way around.
The configuration methods of Arquillian does not belong to any group and will be excluded from the run when you define a group. inheritGroups does not take subclass into account when resolving the groups.
{code}
@Test(groups = "run-arq")
public class SomeTests extends Arquillian {}
{code}
The group "run-arq" is not inherited by the Arquillian super class's configuration methods. Ending in Arquillian trying to invoke a Test method without any before / after features, e.g. container start / deploy
--
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