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.apiClassDescription
@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 declare a custom parameters byIndicativeSentences
, if this notation has some not declared parameters, it will use the default values instead.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.Enumeration of test instance lifecycle modes.@TestTemplate
is used to signal that the annotated method is a test template method. -
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
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
@DisplayNameGeneration
is used to declare a custom display name generator for the annotated test class.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
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
@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
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. -
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.