Class GeneratorsSourceArgumentsProvider

java.lang.Object
de.cuioss.test.generator.junit.parameterized.AbstractTypedGeneratorArgumentsProvider
de.cuioss.test.generator.junit.parameterized.GeneratorsSourceArgumentsProvider
All Implemented Interfaces:
Consumer<GeneratorsSource>, org.junit.jupiter.params.provider.ArgumentsProvider, org.junit.jupiter.params.support.AnnotationConsumer<GeneratorsSource>

public class GeneratorsSourceArgumentsProvider extends AbstractTypedGeneratorArgumentsProvider implements org.junit.jupiter.params.support.AnnotationConsumer<GeneratorsSource>
Implementation of ArgumentsProvider that provides arguments from a TypedGenerator created by the Generators utility class for parameterized tests annotated with GeneratorsSource.

This provider invokes the specified generator method from the Generators class to obtain a TypedGenerator instance and generates the requested number of values to be used as test arguments.

Seed management is integrated with the existing GeneratorControllerExtension to ensure consistent and reproducible test data generation.

Since:
2.0
Author:
Oliver Wolff
See Also: