Uses of Package
org.junit.jupiter.api
-
Packages that use org.junit.jupiter.api Package Description org.junit.jupiter.api JUnit Jupiter API for writing tests.org.junit.jupiter.api.extension JUnit Jupiter API for writing extensions.org.junit.jupiter.engine.config Configuration specific to the JUnit Jupiter test engine.org.junit.jupiter.engine.descriptor Test descriptors used within the JUnit Jupiter test engine.org.junit.jupiter.engine.discovery Internal classes for test discovery 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. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.api Class Description ClassDescriptor ClassDescriptorencapsulates functionality for a givenClass.ClassOrderer ClassOrdererdefines the API for ordering top-level test classes and@Nestedtest classes.ClassOrdererContext ClassOrdererContextencapsulates the context in which aClassOrdererwill be invoked.DisplayNameGeneration @DisplayNameGenerationis used to declare a custom display name generator for the annotated test class.DisplayNameGenerator DisplayNameGeneratordefines the SPI for generating display names programmatically.DisplayNameGenerator.Simple SimpleDisplayNameGeneratorthat removes trailing parentheses for methods with no parameters.DisplayNameGenerator.Standard StandardDisplayNameGenerator.DynamicContainer ADynamicContaineris a container generated at runtime.DynamicNode DynamicNodeserves as the abstract base class for a container or a test case generated at runtime.DynamicTest ADynamicTestis a test case generated at runtime.IndicativeSentencesGeneration @IndicativeSentencesGenerationis used to register theDisplayNameGenerator.IndicativeSentencesdisplay name generator and configure it.MethodDescriptor MethodDescriptorencapsulates functionality for a givenMethod.MethodOrderer MethodOrdererdefines the API for ordering the test methods in a given test class.MethodOrderer.MethodName MethodOrdererthat sorts methods alphanumerically based on their names usingString.compareTo(String).MethodOrdererContext MethodOrdererContextencapsulates the context in which aMethodOrdererwill be invoked.Named Namedis a container that associates a name with a given payload.Tag @Tagis a repeatable annotation that is used to declare a tag for the annotated test class or test method.TestInstance.Lifecycle Enumeration of test instance lifecycle modes.TestTemplate @TestTemplateis 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 Class Description TestInstance.Lifecycle Enumeration of test instance lifecycle modes. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.config Class Description ClassOrderer ClassOrdererdefines the API for ordering top-level test classes and@Nestedtest classes.DisplayNameGenerator DisplayNameGeneratordefines the SPI for generating display names programmatically.MethodOrderer MethodOrdererdefines the API for ordering the test methods in a given test class.TestInstance.Lifecycle Enumeration of test instance lifecycle modes. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.descriptor Class Description DisplayNameGenerator DisplayNameGeneratordefines the SPI for generating display names programmatically.DynamicContainer ADynamicContaineris a container generated at runtime.DynamicNode DynamicNodeserves as the abstract base class for a container or a test case generated at runtime.DynamicTest ADynamicTestis a test case generated at runtime.TestInstance.Lifecycle Enumeration of test instance lifecycle modes. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.discovery Class Description ClassDescriptor ClassDescriptorencapsulates functionality for a givenClass.ClassOrderer ClassOrdererdefines the API for ordering top-level test classes and@Nestedtest classes.ClassOrdererContext ClassOrdererContextencapsulates the context in which aClassOrdererwill be invoked.MethodDescriptor MethodDescriptorencapsulates functionality for a givenMethod.MethodOrdererContext MethodOrdererContextencapsulates the context in which aMethodOrdererwill be invoked. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.engine.extension Class Description Disabled @Disabledis used to signal that the annotated test class or test method is currently disabled and should not be executed.RepeatedTest @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.RepetitionInfo RepetitionInfois used to inject information about the current repetition of a repeated test into@RepeatedTest,@BeforeEach, and@AfterEachmethods.TestInfo TestInfois used to inject information about the current test or container into to@Test,@RepeatedTest,@ParameterizedTest,@TestFactory,@BeforeEach,@AfterEach,@BeforeAll, and@AfterAllmethods.TestReporter Parameters of typeTestReportercan be injected into@BeforeEachand@AfterEachlifecycle methods as well as methods annotated with@Test,@RepeatedTest,@ParameterizedTest,@TestFactory, etc.Timeout @Timeoutis used to define a timeout for a method or all testable methods within one class and its@Nestedclasses. -
Classes in org.junit.jupiter.api used by org.junit.jupiter.params Class Description TestTemplate @TestTemplateis used to signal that the annotated method is a test template method.