Uses of Package
org.junit.jupiter.api
Package
Description
JUnit Jupiter API for writing tests.
JUnit Jupiter API for writing extensions.
Configuration specific to the JUnit Jupiter test engine.
Test descriptors used within the JUnit Jupiter test engine.
JUnit Jupiter extension for parameterized tests.
-
ClassDescriptionBuilder for
AssertionFailedErrors
.Factory for timeout failures.ClassDescriptor
encapsulates functionality for a givenClass
.ClassOrderer
defines the API for ordering top-level test classes and@Nested
test classes.ClassOrdererContext
encapsulates the context in which aClassOrderer
will be invoked.@DisplayNameGeneration
is used to declare a custom display name generator for the annotated test class.DisplayNameGenerator
defines the SPI for generating display names programmatically.SimpleDisplayNameGenerator
that removes trailing parentheses for methods with no parameters.StandardDisplayNameGenerator
.ADynamicContainer
is a container generated at runtime.DynamicNode
serves as the abstract base class for a container or a test case generated at runtime.ADynamicTest
is a test case generated at runtime.MethodDescriptor
encapsulates functionality for a givenMethod
.MethodOrderer
defines the API for ordering the test methods in a given test class.MethodOrderer
that sorts methods alphanumerically based on their names usingString.compareTo(String)
.MethodOrdererContext
encapsulates the context in which aMethodOrderer
will be invoked.Named
is a container that associates a name with a given payload.Enumeration of test instance lifecycle modes.@TestTemplate
is used to signal that the annotated method is a test template method.ThreadMode
is use to define whether the test code should be executed in the thread of the calling code or in a separated thread. -
-
ClassDescription
ClassOrderer
defines the API for ordering top-level test classes and@Nested
test classes.DisplayNameGenerator
defines the SPI for generating display names programmatically.MethodOrderer
defines the API for ordering the test methods in a given test class.Enumeration of test instance lifecycle modes. -
-
ClassDescription
@TestTemplate
is used to signal that the annotated method is a test template method.