Package io.quarkus.test.component
Annotation Interface TestConfigProperty
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Repeatable(TestConfigProperties.class)
public @interface TestConfigProperty
Set the value of a configuration property.
If declared on a top-level test class then the configuration property is used for all test methods declared on the test class and all nested test classes.
If declared on a method then the configuration property is only used for that test method.
If the test instance lifecycle is
, this annotation can only be declared on a top-level test
class, otherwise it's ignored.
invalid reference
Lifecycle#_PER_CLASS
Configuration properties declared on test methods take precedence over the configuration properties declared on test class.
- See Also:
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements