|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
net.sf.randomjunit.RandomTestRunner
public class RandomTestRunner
This class randomize the execution of tests.
Taken from http://stackoverflow.com/questions/1444314/how-can-i-make-my-junit- tests-run-in-random-order
Control Version
Constructor Summary | |
---|---|
RandomTestRunner(Class<?> klass)
Please see BlockJUnit4ClassRunner.BlockJUnit4ClassRunner(Class)
. |
Method Summary | |
---|---|
protected List<org.junit.runners.model.FrameworkMethod> |
computeTestMethods()
|
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
---|
collectInitializationErrors, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, runChild, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, run, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
BlockJUnit4ClassRunner.BlockJUnit4ClassRunner(Class)
.
klass
- Class to execute.
org.junit.runners.model.InitializationError
- If there is an error.Method Detail |
---|
protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
computeTestMethods
in class org.junit.runners.BlockJUnit4ClassRunner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |