Quantcast

(SUREFIRE-847) surefire cannot run single testng test

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
Nikita Makarov created SUREFIRE-847:
---------------------------------------

             Summary: 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org

    [ 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Paul Gier commented on SUREFIRE-847:
------------------------------------

Do you have a small sample project that reproduces the problem?  That will make it easier to verify whether this has been fixed by recent related changes.
               

> 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

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

I'll try to prepare simplest maven project reproducing this problem
               

> 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Makarov updated SUREFIRE-847:
------------------------------------

    Attachment: surefire-847_example.zip

an example project for reproduce this issue. See README.txt inside
               

> 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
>         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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Kristian Rosenvold commented on SUREFIRE-847:
---------------------------------------------

This should be fixed in the latest 2.13-SNAPSHOT I have deplyoed. Please verify.
               

> 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
>         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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Kristian Rosenvold edited comment on SUREFIRE-847 at 7/6/12 8:26 AM:
---------------------------------------------------------------------

This should be fixed in the latest 2.13-SNAPSHOT I have deployed. Please verify.
               
      was (Author: krosenvold):
    This should be fixed in the latest 2.13-SNAPSHOT I have deplyoed. Please verify.
                 

> 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
>         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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed SUREFIRE-847.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.13

I was able to reproduce this with 2.12 using the same project, but not with 2.13-SNAPSHOT, so the issue appears to be fixed.
               

> 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Paul Gier edited comment on SUREFIRE-847 at 7/6/12 11:36 AM:
-------------------------------------------------------------

I was able to reproduce this with 2.12 using the sample project, but not with 2.13-SNAPSHOT, so the issue appears to be fixed.
               
      was (Author: pgier):
    I was able to reproduce this with 2.12 using the same project, but not with 2.13-SNAPSHOT, so the issue appears to be fixed.
                 

> 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

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

Ok, i'll try to and report here
               

> 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

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

Where can I get 2.13-SNAPSHOT????
               

> 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ 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

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ 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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Nikita Makarov edited comment on SUREFIRE-847 at 7/10/12 3:06 AM:
------------------------------------------------------------------

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 as 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
               
      was (Author: nikita.makarov):
    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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier reopened SUREFIRE-847:
--------------------------------

   

> 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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold reassigned SUREFIRE-847:
-------------------------------------------

    Assignee: Kristian Rosenvold
   

> 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
>            Assignee: Kristian Rosenvold
>            Priority: Blocker
>             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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold updated SUREFIRE-847:
----------------------------------------

    Priority: Blocker  (was: Minor)
   

> 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: Blocker
>             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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

(SUREFIRE-847) surefire cannot run single testng test

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

     [ https://jira.codehaus.org/browse/SUREFIRE-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-847.
---------------------------------------

    Resolution: Fixed

Additional regression fixed in r1364144
               

> 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
>            Assignee: Kristian Rosenvold
>            Priority: Blocker
>             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

       
Loading...