Package dev.orne.test.rnd.junit
Annotation Type Random
@Documented
@Retention(RUNTIME)
@Target({FIELD,PARAMETER})
@ExtendWith(RandomValueExtension.class)
public @interface Random
Annotation for automatic random value injection in JUnit Jupiter tests.
- Since:
- 0.1
- Version:
- 1.0, 2023-11
- Author:
- (w) Iker Hernaez
-
Optional Element Summary
Optional Elements
-
Element Details
-
groups
Class<?>[] groupsThe validation groups to use when extracting the constraints of the random value.- Returns:
- The validation groups.
- Default:
- {}
-