Github user Tibor17 commented on the pull request: https://github.com/apache/maven-surefire/pull/107#issuecomment-159998029 You can override the TestNG version by `resetInitialGoals( version )` method and you can see the usage of the method in `CheckTestNgVersionsIT`. The version is passed to the pom.xml in the IT via system property "testNgVersion". You can see it in folder "testNgVersion" because `CheckTestNgVersionsIT` extracts test project which appears in `testng-simple`. See https://github.com/apache/maven-surefire/tree/master/surefire-integration-tests/src/test/resources/testng-simple and see `<version>${testNgVersion}</version>` which is the system property key. See `unpack( "testng-simple" )`. I think you can extend the test `CheckTestNgListenerReporterIT` with new test method using TestNG 6.0. See the IT project extracted by `unpack( "testng-listener-reporter" )`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org