GitHub user krmahadevan opened a pull request: https://github.com/apache/maven-surefire/pull/166
Support filtering of tests from Base Class (TestNG) User has two test classes 1. An abstract base class called âBaseTestâ which contains an @Test method called âtestMethodFromBaseâ 2. A child class called âChildTestâ which extends âBaseTestâ. User attempts at running the TestNG test via -Dtest=ChildTest#testMethodFromBaseâ. Surefire plugin errors out. Fixed this anomaly for TestNG provider. You can merge this pull request into a Git repository by running: $ git pull https://github.com/krmahadevan/maven-surefire krmahadevan-supportBaseClassTestFilteringUsingTestNG Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-surefire/pull/166.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #166 ---- commit 9ed1e75700bd564968eaae444269f9bd280649a0 Author: Krishnan Mahadevan <krishnan.mahadevan1...@gmail.com> Date: 2017-10-09T04:05:11Z Support filtering of tests from Base Class (TestNG) User has two test classes 1. An abstract base class called âBaseTestâ which contains an @Test method called âtestMethodFromBaseâ 2. A child class called âChildTestâ which extends âBaseTestâ. User attempts at running the TestNG test via -Dtest=ChildTest#testMethodFromBaseâ. Surefire plugin errors out. Fixed this anomaly for TestNG provider. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org