Class TypeGeneratorFactoryArgumentsProvider

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

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

This provider invokes the specified factory method 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: