You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Tibor Digana <ti...@apache.org> on 2015/12/12 11:26:04 UTC

https://issues.apache.org/jira/browse/SUREFIRE-1207

Hi,

This email was sent to @juherr (developer at TestNG) and maven development
group in ASF.

Can we filter out Test class using excluded groups right without use of
TestNG or JUnit instance?

See the Jira [1].

For instance if we access annotations @Test(groups) in TestNG classes or
@Category in JUnit , we could probably employ groups/categories while
TestNg/JUnit is not running (talking about in-plugin process).
Do you think this would be enough?
Considering TestNG suites.xml I would rather not use this improvement.
WDYT?

This mechanism would require maintenance due to JUnit 5 [2] Tags which are
similar to JUnit 4 included categories.


[1] https://issues.apache.org/jira/browse/SUREFIRE-1207
[2]
https://github.com/junit-team/junit-lambda/wiki/Prototype-Writing-Test-Cases#tagging-and-filtering

Cheers
Tibor