public interface QuarkusTestProfile
| Modifier and Type | Interface and Description |
|---|---|
static class |
QuarkusTestProfile.TestResourceEntry |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
disableApplicationLifecycleObservers()
If this method returns true then all
StartupEvent and ShutdownEvent observers declared on application
beans should be disabled. |
default boolean |
disableGlobalTestResources()
If this is returns true then only the test resources returned from
testResources() will be started,
global annotated test resources will be ignored. |
default Map<String,String> |
getConfigOverrides()
Returns additional config to be applied to the test.
|
default String |
getConfigProfile()
Allows the default config profile to be overridden.
|
default Set<Class<?>> |
getEnabledAlternatives()
Returns enabled alternatives.
|
default Set<String> |
tags()
The tags this profile is associated with.
|
default List<QuarkusTestProfile.TestResourceEntry> |
testResources()
QuarkusTestResourceLifecycleManager classes (along with their init params) to be used from this
specific test profile |
default Map<String,String> getConfigOverrides()
default Set<Class<?>> getEnabledAlternatives()
default String getConfigProfile()
default List<QuarkusTestProfile.TestResourceEntry> testResources()
QuarkusTestResourceLifecycleManager classes (along with their init params) to be used from this
specific test profiledefault boolean disableGlobalTestResources()
testResources() will be started,
global annotated test resources will be ignored.default Set<String> tags()
quarkus.test.profile.tags System property is set (its value is a comma separated list of strings)
then Quarkus will only execute tests that are annotated with a @TestProfile that has at least one of the
supplied (via the aforementioned system property) tags.default boolean disableApplicationLifecycleObservers()
StartupEvent and ShutdownEvent observers declared on application
beans should be disabled.Copyright © 2021 JBoss by Red Hat. All rights reserved.