[
https://jira.codehaus.org/browse/SUREFIRE-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290685#comment-290685
]
Falko Modler edited comment on SUREFIRE-827 at 2/3/12 2:53 AM:
---------------------------------------------------------------
Similar problem here:
-Dtest=SomeTest does not run any test an raises an error:
{code}
...
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:20.351s
[INFO] Finished at: Thu Feb 02 23:58:33 CET 2012
[INFO] Final Memory: 17M/981M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
project zvs.application.schnittstelle.file.bl.impl: No tests were executed!
(Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]
{code}
I tried to debug the problem bu got lost in ForkStarter.java which received a
lot of changes since 2.11.
Env: Java6 u29, Maven 3.0.4.
was (Author: famod):
Similar problem here:
-Dtest=SomeTest does not run any test an raises an error:
{{
...
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:20.351s
[INFO] Finished at: Thu Feb 02 23:58:33 CET 2012
[INFO] Final Memory: 17M/981M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on
project zvs.application.schnittstelle.file.bl.impl: No tests were executed!
(Set -DfailIfNoTests=false to ignore this error.) -> [Help 1]
}}
I tried to debug the problem bu got lost in ForkStarter.java which received a
lot of changes since 2.11.
Env: Java6 u29, Maven 3.0.4.
> Surefire 2.12 cannot run a single test, regression from 2.11
> ------------------------------------------------------------
>
> Key: SUREFIRE-827
> URL: https://jira.codehaus.org/browse/SUREFIRE-827
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin
> Affects Versions: 2.12
> Environment: Ubuntu 11.10
> Reporter: Andrew Gaul
>
> # Surefire 2.11
> $ mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> # Surefire 2.12
> mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
--
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