Annotation Type EnableInterleavingGeneration
-
@Documented @Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @InterleavingConfigurationSource(MethodBasedInterleavingConfigurationProvider.class) public @interface EnableInterleavingGeneration
used to model a combinatorial test that uses the interleaving approach.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
value
The name of the method from which aInterleavingExecutionConfiguration
can be loaded.
-
-
-
Element Detail
-
value
String value
The name of the method from which aInterleavingExecutionConfiguration
can be loaded. Consequently, the method defined by the value must either return aInterleavingExecutionConfiguration
directly, or aInterleavingExecutionConfiguration.Builder
which can be build. The method should not require any parameters.There are four valid ways to specify the factory method which should be used: -annotated on the
CombinatorialTest
: -empty string: this is the default and looks for a factory method in the same class as the test method and with the same name as the test method. As aCombinatorialTest
has at least one parameter, java will allow methods with the same name, but no parameters -the name of a method: The method needs to be in the same class as the test method -a fully qualified name in the format of classname#methodname from which the testModel is then loaded -annotate the method inside theCombinatorialTest
directly. the name is then ignored.- Returns:
- the name of the method in one of the three schemas explained above
- Default:
- ""
-
-