Package | Description |
---|---|
org.junit.jupiter.api |
JUnit Jupiter API for writing tests.
|
org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
org.junit.jupiter.engine.extension |
Test extensions specific to the JUnit Jupiter test engine.
|
org.junit.jupiter.params |
JUnit Jupiter extension for parameterized tests.
|
Class and Description |
---|
DynamicContainer
A
DynamicContainer is a container generated at runtime. |
DynamicNode
A
DynamicNode is the abstract basis class for a container or a test
case generated at runtime. |
DynamicTest
A
DynamicTest is a test case generated at runtime. |
TestInstance.Lifecycle
Enumeration of test instance lifecycle modes.
|
TestTemplate
@TestTemplate is used to signal that the annotated method is a
test template method. |
Class and Description |
---|
DynamicContainer
A
DynamicContainer is a container generated at runtime. |
DynamicNode
A
DynamicNode is the abstract basis class for a container or a test
case generated at runtime. |
DynamicTest
A
DynamicTest is a test case generated at runtime. |
TestInstance.Lifecycle
Enumeration of test instance lifecycle modes.
|
Class and Description |
---|
RepeatedTest
@RepeatedTest is used to signal that the annotated method is a
test template method that should be repeated a specified number of times with a configurable display
name. |
RepetitionInfo
RepetitionInfo is used to inject information about the current
repetition of a repeated test into @RepeatedTest , @BeforeEach ,
and @AfterEach methods. |
TestInfo
TestInfo is used to inject information about the current test or
container into to @Test , @BeforeEach , @AfterEach ,
@BeforeAll , and @AfterAll methods. |
TestReporter
Parameters of type
TestReporter can be injected into methods of
test classes annotated with @BeforeEach ,
@AfterEach , and @Test . |
Class and Description |
---|
TestTemplate
@TestTemplate is used to signal that the annotated method is a
test template method. |