You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lyle Hanson (JIRA)" <ji...@codehaus.org> on 2011/07/26 22:15:42 UTC
[jira] Created: (SUREFIRE-758) Documentation incorrect for running
single integration test
Documentation incorrect for running single integration test
-----------------------------------------------------------
Key: SUREFIRE-758
URL: https://jira.codehaus.org/browse/SUREFIRE-758
Project: Maven Surefire
Issue Type: Improvement
Components: documentation
Reporter: Lyle Hanson
Priority: Minor
The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
bq.mvn -Dit.test=ITCircle verify
The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Art O Cathain (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305072#comment-305072 ]
Art O Cathain commented on SUREFIRE-758:
----------------------------------------
Agree, this used to work with 2.10, now you need to do -Dtest rather than -Dit.test. Documentation needs updating.
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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
[jira] Commented: (SUREFIRE-758) Documentation incorrect for
running single integration test
Posted by "Lyle Hanson (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275358#comment-275358 ]
Lyle Hanson commented on SUREFIRE-758:
--------------------------------------
I filed it here because this is where the Failsafe project's [issue tracking page|http://maven.apache.org/plugins/maven-failsafe-plugin/issue-tracking.html] links to (http://jira.codehaus.org/browse/SUREFIRE).
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Grmblmbl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295565#comment-295565 ]
Grmblmbl commented on SUREFIRE-758:
-----------------------------------
Still a valid bug with Failsafe 2.12, there is no way to run a single integration test.
It would be nice to have an option for this, thanks.
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed SUREFIRE-758.
---------------------------------------
Resolution: Cannot Reproduce
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Grmblmbl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295566#comment-295566 ]
Grmblmbl commented on SUREFIRE-758:
-----------------------------------
Seems to be a regression as it works with Failsafe 2.11
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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
[jira] Commented: (SUREFIRE-758) Documentation incorrect for
running single integration test
Posted by "Steve Cohen (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=275350#comment-275350 ]
Steve Cohen commented on SUREFIRE-758:
--------------------------------------
Is this true? And why is it filed under SUREFIRE?
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Lyle Hanson (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305643#comment-305643 ]
Lyle Hanson commented on SUREFIRE-758:
--------------------------------------
I'm not sure what has changed since I reported the issue, but with Failsafe 2.12 I can no longer reproduce the problem. Single integration tests work as expected with -Dit.test.
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305119#comment-305119 ]
Kristian Rosenvold commented on SUREFIRE-758:
---------------------------------------------
@Lyle; there's probably something else that's the root cause of this issue:
A) Failsafe is not being executed, surefire instead. Inspect the log output from your test run
B) Your are trying to run a single test method under MS-windows, which is a known bug and has been fixed in the upcoming 2.12.1
C) Your pom is not what you thought it was, check mvn help:effective-pom
Surefire has an extensive set of automated tests, and this feature is not broken in itself. This issue will be closed unless you can make a small test project that demonstrates/reproduced.
Thanks.
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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
[jira] (SUREFIRE-758) Documentation incorrect for running single
integration test
Posted by "Art O Cathain (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/SUREFIRE-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=305072#comment-305072 ]
Art O Cathain edited comment on SUREFIRE-758 at 7/31/12 11:13 AM:
------------------------------------------------------------------
I don't think -Dtest works at all. The surefire runner picks up the specified test in that case. 2.11 is fine, -Dit.test works as expected there.
was (Author: artbristol):
Agree, this used to work with 2.10, now you need to do -Dtest rather than -Dit.test. Documentation needs updating.
> Documentation incorrect for running single integration test
> -----------------------------------------------------------
>
> Key: SUREFIRE-758
> URL: https://jira.codehaus.org/browse/SUREFIRE-758
> Project: Maven Surefire
> Issue Type: Improvement
> Components: documentation
> Reporter: Lyle Hanson
> Priority: Minor
>
> The online documentation for Failsafe which describes [Running a Single Test|http://maven.apache.org/plugins/maven-failsafe-plugin/examples/single-test.html] shows:
> bq.mvn -Dit.test=ITCircle verify
> The it.test parameter does not seem to work. Rather, the same parameter as Surefire (-Dtest=foo) appears to also work for Failsafe.
--
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