org.apache.commons.math3
Class RetryRunnerTest

java.lang.Object
  extended by org.apache.commons.math3.RetryRunnerTest

public class RetryRunnerTest
extends Object

Test for the "Retry" functionality (retrying Junit test methods).


Constructor Summary
RetryRunnerTest()
           
 
Method Summary
 void testRetryFailAlways()
          Shows that an always failing test will fail even if it is retried.
 void testRetryFailSometimes()
          Shows that a test that sometimes fail might succeed if it is retried.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryRunnerTest

public RetryRunnerTest()
Method Detail

testRetryFailAlways

public void testRetryFailAlways()
Shows that an always failing test will fail even if it is retried.


testRetryFailSometimes

public void testRetryFailSometimes()
Shows that a test that sometimes fail might succeed if it is retried. In this case the high number of retries makes it quite unlikely that the exception will be thrown by all of the calls.



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.