org.apache.commons.math3
Class RetryRunnerTest
java.lang.Object
org.apache.commons.math3.RetryRunnerTest
public class RetryRunnerTest
- extends Object
Test for the "Retry" functionality (retrying Junit test methods).
|
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 |
RetryRunnerTest
public RetryRunnerTest()
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.