Annotation Interface Configuration
Additional configuration of config itself.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Class path properties config sources to add to configuration of this test class or method.Configuration profile.booleanIf set totrue, the existing (or default) MicroProfile configuration would be used.
-
Element Details
-
useExisting
boolean useExistingIf set totrue, the existing (or default) MicroProfile configuration would be used. By default uses a configuration constructed using allAddConfigannotations andconfigSources(). When set to false and aBeforeClassmethod registers a custom configuration withConfigProviderResolver, the result is undefined, though tests have shown that the registered config may be used (as BeforeAll ordering is undefined by JUnit, it may be called after our extension)- Returns:
- whether to use existing (or default) configuration, or customized one
- Default:
false
-
configSources
String[] configSourcesClass path properties config sources to add to configuration of this test class or method.- Returns:
- config sources to add
- Default:
{}
-
profile
String profileConfiguration profile.- Returns:
- String with default value "test".
- Default:
"test"
-