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.ClassDescriptorencapsulates functionality for a givenClass.ClassOrdererdefines the API for ordering top-level test classes and@Nestedtest classes.ClassOrdererContextencapsulates the context in which aClassOrdererwill be invoked.@DisplayNameGenerationis used to declare a custom display name generator for the annotated test class.DisplayNameGeneratordefines the SPI for generating display names programmatically.SimpleDisplayNameGeneratorthat removes trailing parentheses for methods with no parameters.StandardDisplayNameGenerator.ADynamicContaineris a container generated at runtime.DynamicNodeserves as the abstract base class for a container or a test case generated at runtime.ADynamicTestis a test case generated at runtime.@IndicativeSentencesGenerationis used to register theDisplayNameGenerator.IndicativeSentencesdisplay name generator and configure it.MethodDescriptorencapsulates functionality for a givenMethod.MethodOrdererdefines the API for ordering the test methods in a given test class.MethodOrdererthat sorts methods alphanumerically based on their names usingString.compareTo(String).MethodOrdererContextencapsulates the context in which aMethodOrdererwill be invoked.Namedis a container that associates a name with a given payload.Enumeration of test instance lifecycle modes.@TestTemplateis used to signal that the annotated method is a test template method.ThreadModeis 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
ClassOrdererdefines the API for ordering top-level test classes and@Nestedtest classes.DisplayNameGeneratordefines the SPI for generating display names programmatically.MethodOrdererdefines 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
DisplayNameGeneratordefines the SPI for generating display names programmatically.ADynamicContaineris a container generated at runtime.DynamicNodeserves as the abstract base class for a container or a test case generated at runtime.ADynamicTestis 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
ClassDescriptorencapsulates functionality for a givenClass.ClassOrdererdefines the API for ordering top-level test classes and@Nestedtest classes.ClassOrdererContextencapsulates the context in which aClassOrdererwill be invoked.MethodDescriptorencapsulates functionality for a givenMethod.MethodOrdererContextencapsulates the context in which aMethodOrdererwill be invoked. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.extensionClassDescription
@Disabledis used to signal that the annotated test class or test method is currently disabled and should not be executed.@RepeatedTestis 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.RepetitionInfois used to inject information about the current repetition of a repeated test into@RepeatedTest,@BeforeEach, and@AfterEachmethods.TestInfois used to inject information about the current test or container into to@Test,@RepeatedTest,@ParameterizedTest,@TestFactory,@BeforeEach,@AfterEach,@BeforeAll, and@AfterAllmethods.Parameters of typeTestReportercan be injected into@BeforeEachand@AfterEachlifecycle methods as well as methods annotated with@Test,@RepeatedTest,@ParameterizedTest,@TestFactory, etc.@Timeoutis used to define a timeout for a method or all testable methods within one class and its@Nestedclasses.ThreadModeis 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
@TestTemplateis used to signal that the annotated method is a test template method.