You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2006/03/22 23:51:11 UTC
[jira] Updated: (MPTEST-10) Add timeouts to the test plugin
[ http://jira.codehaus.org/browse/MPTEST-10?page=all ]
Lukas Theussl updated MPTEST-10:
--------------------------------
Fix Version: 1.8
> Add timeouts to the test plugin
> -------------------------------
>
> Key: MPTEST-10
> URL: http://jira.codehaus.org/browse/MPTEST-10
> Project: maven-test-plugin
> Type: Improvement
> Reporter: Julian Payne
> Fix For: 1.8
>
>
> I need to be able to set a timeout in the unit tests because we have graphical tests that block from time to time.
> Here is what I would like to be added in the plugin.jelly as part of the junit element:
> <junit printSummary="${maven.junit.printsummary}"
> failureProperty="maven.test.failure"
> fork="${maven.junit.fork}"
> dir="${maven.junit.dir}">
> <!-- start of script to control the timeouut -->
> <j:if test="${context.getVariable('maven.junit.timeout') != null}">
> <setProperty name="timeout" value="${maven.junit.timeout}" />
> </j:if>
> <!-- end of script to control the timeouut -->
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira