You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/12/06 12:37:11 UTC

[jira] [Closed] (SUREFIRE-903) Execute tests by group as well as by class

     [ 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)