[
https://issues.apache.org/jira/browse/WHIRR-689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548533#comment-13548533
]
Guido Serra aka Zeph commented on WHIRR-689:
--------------------------------------------
uhmm... at least I can isolate the module
{code}
mvn test -pl services/puppet
{code}
or
{code}
mvn integration-test -pl services/puppet
{code}
which apparently seem to run the same set of tests...
{code}
Running
org.apache.whirr.service.puppet.functions.InstallAllModulesStatementFromPropertiesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.419 sec
[...]
Running org.apache.whirr.service.puppet.statements.InstallModuleFromGitTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
Results :
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
{code}
> can't run *only* a single test
> ------------------------------
>
> Key: WHIRR-689
> URL: https://issues.apache.org/jira/browse/WHIRR-689
> Project: Whirr
> Issue Type: Bug
> Reporter: Guido Serra aka Zeph
> Labels: test, test-fail, testing, tests, testsuite
>
> attempting to run only a specific test, and not the full test suite
> (I wonder if I have dependencies that prevent me from doing that)
> {code}
> mvn -Dtest=InstallModuleFromGitTest test
> {code}
> ...fails miserably
> {code}
> [...]
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> There are no tests to run.
> Results :
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Whirr Build Tools .......................... FAILURE [1.123s]
> [INFO] Whirr ............................................. SKIPPED
> [...]
> {code}
> reference:
> -
> http://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira