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 | 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 | 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 | Description |
---|---|---|
TestInstance.Lifecycle |
CachingJupiterConfiguration.getDefaultTestInstanceLifecycle() |
|
TestInstance.Lifecycle |
DefaultJupiterConfiguration.getDefaultTestInstanceLifecycle() |
|
TestInstance.Lifecycle |
JupiterConfiguration.getDefaultTestInstanceLifecycle() |
Modifier and Type | Field | Description |
---|---|---|
protected TestInstance.Lifecycle |
ClassBasedTestDescriptor.lifecycle |
Modifier and Type | Method | Description |
---|---|---|
Optional<TestInstance.Lifecycle> |
DynamicExtensionContext.getTestInstanceLifecycle() |
Copyright © 2019. All rights reserved.