[ https://jira.codehaus.org/browse/SUREFIRE-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=346276#comment-346276 ]
Diwaker Gupta commented on SUREFIRE-1028: ----------------------------------------- This remains broken in 2.17. Suggest at least updating the docs (http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html) until this is fixed so users don't get confused. > Unable to run single test (junit) > --------------------------------- > > Key: SUREFIRE-1028 > URL: https://jira.codehaus.org/browse/SUREFIRE-1028 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 2.16 > Reporter: Diwaker Gupta > Priority: Critical > Fix For: 2.18 > > > This is a regression from 2.15. It also looks like Surefire keeps regressing > on this feature (e.g. see SUREFIRE-827) -- are there no unit or integration > tests to prevent such regressions? > With Surefire 2.15 > {noformat} > $ mvn test -Dtest=MyTest#testFoo > ... > Results : > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > {noformat} > With Surefire 2.16 > {noformat} > $ mvn test -Dtest=MyTest#testFoo > Results : > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > {noformat} -- This message was sent by Atlassian JIRA (v6.1.6#6162)