-
Interface Summary
Interface |
Description |
TestInfo |
TestInfo is used to inject information about the current test or
container into to @Test , @BeforeEach , @AfterEach ,
@BeforeAll , and @AfterAll methods.
|
TestReporter |
|
-
Class Summary
Class |
Description |
Assertions |
Assertions is a collection of utility methods that support asserting
conditions in tests.
|
Assumptions |
Assumptions is a collection of utility methods that support
conditional test execution based on assumptions.
|
DynamicTest |
A DynamicTest is a test case generated at runtime.
|
-
Annotation Types Summary
Annotation Type |
Description |
AfterAll |
@AfterAll is used to signal that the annotated method should be
executed after all tests in the current test class.
|
AfterEach |
@AfterEach is used to signal that the annotated method should be
executed after each @Test method in
the current test class.
|
BeforeAll |
@BeforeAll is used to signal that the annotated method should be
executed before all tests in the current test class.
|
BeforeEach |
@BeforeEach is used to signal that the annotated method should be
executed before each @Test method in
the current test class.
|
Disabled |
@Disabled is used to signal that the annotated test class or
test method is currently disabled and should not be executed.
|
DisplayName |
@DisplayName is used to declare a custom display name for the
annotated test class or test method.
|
Nested |
@Nested is used to signal that the annotated class is a nested,
non-static test class.
|
Tag |
@Tag is a repeatable annotation that is
used to declare a tag for the annotated test class or test method.
|
Tags |
@Tags is a container for one or more @Tag declarations.
|
Test |
@Test is used to signal that the annotated method is a
test method.
|
TestFactory |
@TestFactory is used to signal that the annotated method is a
test factory method.
|
Package org.junit.jupiter.api Description
JUnit Jupiter API for writing tests.