[ 
https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=303131#comment-303131
 ] 

Nikita Makarov commented on SUREFIRE-847:
-----------------------------------------

I see very strange situation with 2.13-SNAPSHOT. Using the test project I've 
attached earlier I try to run SomeFailedTest only ( mvn clean test 
-Dtest=org.codehaus.SomeFailedTest) and it works asa expected. 
But when I try to run another test (mvn clean test 
-Dtest=org.codehaus.SomePassedTest) then it fails.
I've ran with -X option botn cases. Log files will be attached to issue
                
> 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

        

Reply via email to