Package io.quarkus.test.component
Annotation Type TestConfigProperty
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Repeatable(TestConfigProperties.class) public @interface TestConfigProperty
Set the value of a configuration property.If declared on a class then the configuration property is used for all test methods declared on the test class.
If declared on a method then the configuration property is only used for that test method. If the test instance lifecycle is
Lifecycle#_PER_CLASS, this annotation can only be used on the test class and is ignored on test methods.Configuration properties declared on test methods take precedence over the configuration properties declared on test class.