Skip to content

Add fuzzHint to support generating human-friendly fake strings #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 4, 2021

Conversation

ucarion
Copy link
Contributor

@ucarion ucarion commented Feb 4, 2021

This PR adds support for fuzzHint, a metadata property that tells jtd-fuzz to generate a particular sort of string for a property. This is meant to make jtd-fuzz more convenient to use for real-world applications, where fuzzing an arbitrary string as opposed to an email-like string is not as useful.

This of course does not change the fact that JTD only understands strings and RFC 3339 timestamps. This is only a hint for jtd-fuzz to produce more useful results.

@ucarion ucarion merged commit 1416137 into master Feb 4, 2021
@ucarion ucarion deleted the ucarion/faker branch February 4, 2021 20:58
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.

1 participant