| Package | Description |
|---|---|
| org.junit.experimental.max | |
| org.junit.experimental.results | |
| org.junit.runner |
Provides classes used to describe, collect, run and analyze multiple tests.
|
| Modifier and Type | Method and Description |
|---|---|
Request |
MaxCore.sortRequest(Request request) |
| Modifier and Type | Method and Description |
|---|---|
Result |
MaxCore.run(Request request)
Run all the tests contained in
request. |
Result |
MaxCore.run(Request request,
JUnitCore core)
Run all the tests contained in
request. |
List<Description> |
MaxCore.sortedLeavesForTest(Request request) |
Request |
MaxCore.sortRequest(Request request) |
| Modifier and Type | Method and Description |
|---|---|
static PrintableResult |
PrintableResult.testResult(Request request)
The result of running JUnit on Request
request |
| Modifier and Type | Method and Description |
|---|---|
static Request |
Request.aClass(Class<?> clazz)
Create a
Request that, when processed, will run all the tests
in a class. |
static Request |
Request.classes(Class<?>... classes)
Create a
Request that, when processed, will run all the tests
in a set of classes with the default Computer. |
static Request |
Request.classes(Computer computer,
Class<?>... classes)
Create a
Request that, when processed, will run all the tests
in a set of classes. |
static Request |
Request.classWithoutSuiteMethod(Class<?> clazz)
Create a
Request that, when processed, will run all the tests
in a class. |
static Request |
Request.errorReport(Class<?> klass,
Throwable cause)
Creates a
Request that, when processed, will report an error for the given
test class with the given cause. |
Request |
Request.filterWith(Description desiredDescription)
Returns a Request that only runs tests whose
Description
matches the given description. |
Request |
Request.filterWith(Filter filter)
Returns a Request that only contains those tests that should run when
filter is applied |
static Request |
Request.method(Class<?> clazz,
String methodName)
Create a
Request that, when processed, will run a single test. |
Request |
Request.orderWith(Ordering ordering)
Returns a Request whose Tests can be run in a certain order, defined by
ordering |
static Request |
Request.runner(Runner runner) |
Request |
Request.sortWith(Comparator<Description> comparator)
Returns a Request whose Tests can be run in a certain order, defined by
comparator |
| Modifier and Type | Method and Description |
|---|---|
Result |
JUnitCore.run(Request request)
Run all the tests contained in
request. |
Copyright © 2002–2020 JUnit. All rights reserved.