Package edu.berkeley.cs.jqf.fuzz.spi
Interface ArgumentsGeneratorFactory
- All Known Implementing Classes:
InstancioArgumentsGeneratorFactory,JetCheckArgumentsGeneratorFactory,QuickcheckArgumentsGeneratorFactory
public interface ArgumentsGeneratorFactory
Builds an
ArgumentsGenerator for a specific test method.
Implementations are discovered through ServiceLoader,
which makes the generation library a pluggable choice. The factory inspects
the method's parameters and annotations once and returns a generator that the
engine then drives for every trial.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreates a generator bound to the given test method.
-
Method Details
-
create
Creates a generator bound to the given test method.- Parameters:
testClass- the class declaring the test methodtestMethod- the test method whose arguments will be generated- Returns:
- a generator for the method's parameters
-