Package org.seedstack.seed.testing
Annotation Type ConfigurationProfiles
-
@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Inherited public @interface ConfigurationProfiles
Specify one or more configuration profile to be active for the duration of the test.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanappendIf true, only when the annotation is placed on a test method and there is already another annotation on the class, its profiles are appended to the class annotation instead of replacing them.String[]valueThe configuration profiles to be active during the test.
-
-
-
Element Detail
-
value
String[] value
The configuration profiles to be active during the test.- Returns:
- the configuration profile list.
- Default:
- {}
-
-
-
append
boolean append
If true, only when the annotation is placed on a test method and there is already another annotation on the class, its profiles are appended to the class annotation instead of replacing them.- Returns:
- if true, profiles are appended to the ones one the test class, otherwise they replace them.
- Default:
- true
-
-