Package org.junit.runner.manipulation
Interface Orderable
- All Superinterfaces:
Sortable
- All Known Implementing Classes:
AllTests
,BlockJUnit4ClassRunner
,BlockJUnit4ClassRunnerWithParameters
,Categories
,Enclosed
,JUnit38ClassRunner
,JUnit4
,JUnit4TestAdapter
,Parameterized
,ParentRunner
,Suite
,SuiteMethod
,Theories
Interface for runners that allow ordering of tests.
Beware of using this interface to cope with order dependencies between tests. Tests that are isolated from each other are less expensive to maintain and can be run individually.
- Since:
- 4.13
-
Method Summary
-
Method Details
-
order
Orders the tests usingorderer
- Throws:
InvalidOrderingException
- if orderer does something invalid (like remove or add children)
-