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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Optional<TestInstance.Lifecycle> |
ExtensionContext.getTestInstanceLifecycle()
Get the
TestInstance.Lifecycle of the test
instance associated with the current test or container, if available. |
Modifier and Type | Method and Description |
---|---|
TestInstance.Lifecycle |
DefaultJupiterConfiguration.getDefaultTestInstanceLifecycle() |
TestInstance.Lifecycle |
JupiterConfiguration.getDefaultTestInstanceLifecycle() |
TestInstance.Lifecycle |
CachingJupiterConfiguration.getDefaultTestInstanceLifecycle() |
Modifier and Type | Field and Description |
---|---|
protected TestInstance.Lifecycle |
ClassTestDescriptor.lifecycle |
Copyright © 2022. All rights reserved.