[
https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=303105#comment-303105
]
Olivier Lamy commented on SUREFIRE-847:
---------------------------------------
see
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> surefire cannot run single testng test
> ---------------------------------------
>
> Key: SUREFIRE-847
> URL: https://jira.codehaus.org/browse/SUREFIRE-847
> Project: Maven Surefire
> Issue Type: Bug
> Components: TestNG support
> Affects Versions: 2.12
> Environment: Windows 7 x64
> Reporter: Nikita Makarov
> Priority: Minor
> Fix For: 2.13
>
> Attachments: surefire-847_example.zip
>
>
> Trying to run single testng test class with command mvn test -Dtest=SomeTest
> fails with message
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
> project web-integration-tests: No tests were executed!
> (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1].
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira