Uses of Class
org.junit.jupiter.api.TestInstance.Lifecycle
-
Packages that use TestInstance.Lifecycle 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. -
-
Uses of TestInstance.Lifecycle in org.junit.jupiter.api
Methods in org.junit.jupiter.api that return TestInstance.Lifecycle Modifier and Type Method Description TestInstance.Lifecycle
value()
The test instance lifecycle mode to use.static TestInstance.Lifecycle
TestInstance.Lifecycle. valueOf(String name)
Returns the enum constant of this type with the specified name.static TestInstance.Lifecycle[]
TestInstance.Lifecycle. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of TestInstance.Lifecycle in org.junit.jupiter.api.extension
Methods in org.junit.jupiter.api.extension that return types with arguments of type TestInstance.Lifecycle Modifier and Type Method Description Optional<TestInstance.Lifecycle>
ExtensionContext. getTestInstanceLifecycle()
Get theTestInstance.Lifecycle
of the test instance associated with the current test or container, if available. -
Uses of TestInstance.Lifecycle in org.junit.jupiter.engine.config
Methods in org.junit.jupiter.engine.config that return TestInstance.Lifecycle Modifier and Type Method Description TestInstance.Lifecycle
CachingJupiterConfiguration. getDefaultTestInstanceLifecycle()
TestInstance.Lifecycle
DefaultJupiterConfiguration. getDefaultTestInstanceLifecycle()
TestInstance.Lifecycle
JupiterConfiguration. getDefaultTestInstanceLifecycle()
-
Uses of TestInstance.Lifecycle in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor declared as TestInstance.Lifecycle Modifier and Type Field Description protected TestInstance.Lifecycle
ClassBasedTestDescriptor. lifecycle
-