Maven 1.x Test Plugin

Add timeouts to the test plugin

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.8
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

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

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (5)
Watch (5)

Dates

  • Created:
    Updated:
    Resolved: