maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prabhu Joseph (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SUREFIRE-1640) Running single test method does not work for junit Parameterized class
Date Mon, 18 Feb 2019 11:19:00 GMT
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)

Mime
View raw message