[ https://jira.codehaus.org/browse/SUREFIRE-600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288576#comment-288576 ]
Oliver B. Fischer commented on SUREFIRE-600: -------------------------------------------- I have a similar problem with disabled test classes inheriting from {{org.jboss.arquillian.testng.Arquillian}}. It is not possible to disable this tests in our setup. > Surefire + TestNG executes tests annotated as disabled, if superclasses are > enabled. > ------------------------------------------------------------------------------------ > > Key: SUREFIRE-600 > URL: https://jira.codehaus.org/browse/SUREFIRE-600 > Project: Maven Surefire > Issue Type: Bug > Components: TestNG support > Affects Versions: 2.4.3, 2.5 > Environment: TestNG 5.11, Maven 2.2.1, Apple & Sun JDK 6 > Reporter: Manik Surtani > > This has to do with a test class extending a base test class, and both > classes are annotated with {{@Test}}. The parent class would have {{@Test > (enabled = true)}} and the child {{@Test (enabled = false)}}. The child test > is still run, and this is contradictory to the behaviour of TestNG run in > other forms (command line, via IDEs, etc). > I suspect this has to do with the way @Test annotations are parsed by > Surefire when deciding which classes to pass to TestNG. -- 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