Class TypeGeneratorArgumentsProvider

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

public class TypeGeneratorArgumentsProvider extends AbstractTypedGeneratorArgumentsProvider implements org.junit.jupiter.params.support.AnnotationConsumer<TypeGeneratorSource>
Implementation of ArgumentsProvider that provides arguments from a TypedGenerator for parameterized tests annotated with TypeGeneratorSource.

This provider instantiates the specified TypedGenerator class 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: