[
https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Makarov updated SUREFIRE-847:
------------------------------------
Attachment: onlyPassedTest.log
onlyFailedTest.log
log files with -X build option
> 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: onlyFailedTest.log, onlyPassedTest.log,
> 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