@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Repeatable(value=QuarkusTestResource.List.class) public @interface QuarkusTestResource
QuarkusTestResource annotations in the test module
are discovered (regardless of the test which contains the annotation)
and their corresponding QuarkusTestResourceLifecycleManager
started before any test is run.| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends QuarkusTestResourceLifecycleManager> |
value |
| Modifier and Type | Optional Element and Description |
|---|---|
ResourceArg[] |
initArgs |
boolean |
parallel
Whether this test resource is to be started in parallel (concurrently) along with others also marked as parallel
|
boolean |
restrictToAnnotatedClass
Whether this annotation should only be enabled if it is placed on the currently running test class or test profile.
|
public abstract Class<? extends QuarkusTestResourceLifecycleManager> value
public abstract ResourceArg[] initArgs
QuarkusTestResourceLifecycleManagerQuarkusTestResourceLifecycleManager.init(Map)public abstract boolean parallel
public abstract boolean restrictToAnnotatedClass
Copyright © 2021 JBoss by Red Hat. All rights reserved.