Annotation Interface LabelSource
@Target({ANNOTATION_TYPE,METHOD})
@Retention(RUNTIME)
@ArgumentsSource(ToolsExtension.class)
public @interface LabelSource
Denotes the groups of labeled
Elements to be used as parameters in a
parameterized test.
Annotated tests must also be annotated with ParameterizedTest and in
a class annotated with @ToolsExtension.
A label and the corresponding Element are provided as parameters.
Note: The label and corresponding Element must be the first parameters
of a test method if used in conjunction with other parameters injected by ToolsExtension.-
Required Element Summary
Required Elements
-
Element Details
-
groups
String[] groups
-