You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gabriele Catania (JIRA)" <ji...@codehaus.org> on 2012/06/15 15:01:21 UTC

[jira] (SUREFIRE-847) surefire cannot run single testng test

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

Gabriele Catania commented on SUREFIRE-847:
-------------------------------------------

We are having the same issue.

On Linux machines the {{-Dtest=TestCassName}} argument is honored, while on Windows machines it fails the build with no tests found.
                
> 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
>
> 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