[
https://issues.apache.org/jira/browse/SUREFIRE-903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tibor Digana closed SUREFIRE-903.
---------------------------------
Resolution: Not A Problem
Assignee: Tibor Digana
tested in future 2.19.1
> Execute tests by group as well as by class
> ------------------------------------------
>
> Key: SUREFIRE-903
> URL: https://issues.apache.org/jira/browse/SUREFIRE-903
> Project: Maven Surefire
> Issue Type: New Feature
> Components: Maven Surefire Plugin
> Affects Versions: 2.12.2
> Environment: Maven 3, TestNG 6.7, NetBeans 7.2
> Reporter: Chris Rankin
> Assignee: Tibor Digana
>
> Similar to SUREFIRE-577, only execute methods on a class if they belong to a
> certain group or groups.
> NetBean's "Test File" action invokes a particular TestNG class via
> {{-Dtest=className}}. However, this completely ignores the TestNG groups and
> executes _every_ {{@Test}}, including {{@BeforeClass}} methods that were
> supposed to have been excluded (and mutually exclusive!).
> Using {{-Dgroups=...}} respects the grouping but also executes all classes,
> whereas I am trying to debug only one class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)