Uses of Package
org.junit.jupiter.api
Packages that use 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.
Internal classes for test discovery within the JUnit Jupiter test engine.
Test extensions specific to the JUnit Jupiter test engine.
JUnit Jupiter extension for parameterized tests.
-
Classes in org.junit.jupiter.api used by org.junit.jupiter.apiClassDescriptionBuilder 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.@IndicativeSentencesGeneration
is used to register theDisplayNameGenerator.IndicativeSentences
display name generator and configure it.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. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.api.extension
-
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.configClassDescription
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. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.descriptorClassDescription
DisplayNameGenerator
defines the SPI for generating display names programmatically.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.Enumeration of test instance lifecycle modes. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.discoveryClassDescription
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.MethodDescriptor
encapsulates functionality for a givenMethod
.MethodOrdererContext
encapsulates the context in which aMethodOrderer
will be invoked. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.extensionClassDescription
@Disabled
is used to signal that the annotated test class or test method is currently disabled and should not be executed.@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 and an optional failure threshold.RepetitionInfo
is used to inject information about the current repetition of a repeated test into@RepeatedTest
,@BeforeEach
, and@AfterEach
methods.TestInfo
is used to inject information about the current test or container into to@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
,@BeforeEach
,@AfterEach
,@BeforeAll
, and@AfterAll
methods.Parameters of typeTestReporter
can be injected into@BeforeEach
and@AfterEach
lifecycle methods as well as methods annotated with@Test
,@RepeatedTest
,@ParameterizedTest
,@TestFactory
, etc.@Timeout
is used to define a timeout for a method or all testable methods within one class and its@Nested
classes.ThreadMode
is use to define whether the test code should be executed in the thread of the calling code or in a separated thread. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.paramsClassDescription
@TestTemplate
is used to signal that the annotated method is a test template method.