[GitHub] maven-surefire pull request #166: Support filtering of tests from Base Class...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] maven-surefire pull request #166: Support filtering of tests from Base Class...

hboutemy-2
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 <[hidden email]>
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: [hidden email]
For additional commands, e-mail: [hidden email]