[
https://issues.jboss.org/browse/AS7-2086?page=com.atlassian.jira.plugin.s...
]
Honza Brázdil edited comment on AS7-2086 at 7/24/12 7:18 AM:
-------------------------------------------------------------
I've tested surefire and found and/or/not expresions working. The parser for groups
parameter:
http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-grouper/src...
I've tested it with this tests:
@Category(ATests.class) public void Atest();
@Category(BTests.class) public void Btest();
@Category(CTests.class) public void Ctest();
@Category({ATests.class, BTests.class}) public void ABtest();
@Category({ATests.class, CTests.class}) public void ACtest();
@Category({BTests.class, CTests.class}) public void BCtest();
And surefire groups set to:
<groups>eu.janinko.test.category.CTests Or (eu.janinko.test.category.BTests
&& (! eu.janinko.test.category.ATests))</groups>
And tests runned were:
Btest
Ctest
ACtest
BCtest
which is fine.
was (Author: janinko):
I've tested surefire and found and/or/not expresions working. The parser for
groups parameter:
http://svn.apache.org/repos/asf/maven/surefire/trunk/surefire-grouper/src...
@Category(ATests.class) public void Atest()
@Category(BTests.class) public void Btest()
TS: Tests grouping
------------------
Key: AS7-2086
URL:
https://issues.jboss.org/browse/AS7-2086
Project: Application Server 7
Issue Type: Sub-task
Components: Test Suite
Reporter: Ondrej Zizka
Assignee: Ondrej Zizka
Fix For: 7.2.0.Alpha1
Attachments: BooleanExpression.g
Decide which mechanism to use to assign the tests into one or multiple groups.
Posibilities:
1)
{code}
@Test
@Category(IntegrationTests.class)
{code}
http://weblogs.java.net/blog/johnsmart/archive/2010/04/25/grouping-tests-...
Also, Arquillian itself supports grouping:
https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/o...
2)
{code}
@Ignore
{code}
3) Maven Surefire <includes> and <excludes>
--
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