| Package | Description |
|---|---|
| org.junit.experimental.results |
| Modifier and Type | Method and Description |
|---|---|
static PrintableResult |
PrintableResult.testResult(Class<?> type)
The result of running JUnit on
type |
static PrintableResult |
PrintableResult.testResult(Request request)
The result of running JUnit on Request
request |
| Modifier and Type | Method and Description |
|---|---|
static Matcher<PrintableResult> |
ResultMatchers.failureCountIs(int count)
Matches if there are
count failures |
static Matcher<PrintableResult> |
ResultMatchers.hasFailureContaining(String string)
Matches if the result has one or more failures, and at least one of them
contains
string |
static Matcher<PrintableResult> |
ResultMatchers.hasSingleFailureMatching(Matcher<Throwable> matcher)
Matches if the result has exactly one failure matching the given matcher.
|
static Matcher<PrintableResult> |
ResultMatchers.isSuccessful()
Matches if the tests are all successful
|
Copyright © 2002–2020 JUnit. All rights reserved.