Skip to content

Specify generators from command line#275

Open
vasumv wants to merge 3 commits into
masterfrom
vasu/cmdline_specify_generators
Open

Specify generators from command line#275
vasumv wants to merge 3 commits into
masterfrom
vasu/cmdline_specify_generators

Conversation

@vasumv
Copy link
Copy Markdown
Collaborator

@vasumv vasumv commented May 5, 2025

Adds system property for specifying command arguments of generator classes.

Example usage:

mvn jqf:fuzz -Dclass=edu.berkeley.cs.jqf.examples.jackson.JsonTest -Dmethod="fuzzJsonReadValue" \
-Dgenerators=edu.berkeley.cs.jqf.examples.json.JsonGenerator

Command line specified generators will override any static generators specified using @From annotation.

@vasumv vasumv requested review from aoli-al and rohanpadhye May 5, 2025 20:27
@rohanpadhye
Copy link
Copy Markdown
Owner

How does this work for multiple input arguments or generators for parametric types?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants