[
https://issues.jboss.org/browse/AS7-2086?page=com.atlassian.jira.plugin.s...
]
Ondrej Zizka commented on AS7-2086:
-----------------------------------
(20:12:37) OndrejZizka: Question about grouping with @Category:
(20:12:53) OndrejZizka: Is there some @Categories({ @Category(...) } ) ?
(20:13:26) OndrejZizka: For EAP testsuite, we will need fine-grained grouping,
(20:13:48) OndrejZizka: and cross-concern groups
(20:14:08) OndrejZizka: like, ejb, security, common criteria, slow tests, ...
(20:14:32) OndrejZizka: Making combined interfaces would make insane structure
(20:14:35) aslak: not supported out of the box, but we're using a patched version in
weld
(20:14:54) OndrejZizka: Hmm, what's patched - arq?
(20:14:56) OndrejZizka: Or JUnit?
(20:15:00) aslak: junit only support one include or one exclude pr suite. out patch adds
support for multiple
(20:15:05) aslak: junit
(20:15:18) aslak: or not junit.. but a forked Categories runner
(20:16:41) aslak:
https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/o...
(20:16:42) OndrejZizka: Can it be used in AS/EAP? I mean, is it properly released and
such?
(20:16:53) aslak: no, not released
(20:17:58) aslak:
https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/o...
(20:18:00) aslak:
https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/o...
(20:18:03) aslak:
https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/o...
(20:18:07) OndrejZizka: Any chance to get that to "official" arq (perhaps core?)
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
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