You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Prabhu Joseph (JIRA)" <ji...@apache.org> on 2019/02/18 11:19:00 UTC

[jira] [Created] (SUREFIRE-1640) Running single test method does not work for junit Parameterized class

Prabhu Joseph created SUREFIRE-1640:
---------------------------------------

             Summary: Running single test method does not work for junit Parameterized class
                 Key: SUREFIRE-1640
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1640
             Project: Maven Surefire
          Issue Type: Bug
    Affects Versions: 3.0.0-M3
            Reporter: Prabhu Joseph


Running single test method does not work for junit Parameterized class. It does not recognize the test method and shows no tests run.

{code}
mvn -Dtest=TestRMRestart#testRMStateStoreDispatcherDrainedOnRMStop test

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.134 s - in org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
{code}


Code Snippet:

{code}
@RunWith(Parameterized.class)
class TestRMRestart
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)