Chris Rankin created SUREFIRE-903:
-------------------------------------

             Summary: Execute tests by group as well as by class
                 Key: SUREFIRE-903
                 URL: https://jira.codehaus.org/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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to