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 org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.failureCountIs(int count)
Matches if there are
count failures |
static org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.hasFailureContaining(String string)
Matches if the result has one or more failures, and at least one of them
contains
string |
static org.hamcrest.Matcher<PrintableResult> |
ResultMatchers.isSuccessful()
Matches if the tests are all successful
|
Copyright © 2002–2022 JUnit. All rights reserved.