|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
org.junit.runner.manipulation Interface Sortable
- All Known Implementing Classes:
- AllTests, BlockJUnit4ClassRunner, org.junit.internal.runners.JUnit38ClassRunner, JUnit4, Parameterized, ParentRunner, Suite, org.junit.internal.runners.SuiteMethod
public interface Sortable
Interface for runners that allow sorting of tests. By sorting tests based on when they last failed, most recently failed first, you can reduce the average time to the first test failing. Test sorting should not be used to cope with order dependencies between tests. Tests that are isolated from each other are less expensive to maintain and can be run individually.
方法摘要 | |
---|---|
void |
sort(Sorter sorter)
Sorts the tests using sorter |
方法详细信息 |
---|
sort
void sort(Sorter sorter)
- Sorts the tests using
sorter
- 参数:
sorter
- theSorter
to use for sorting the tests
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |