Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Idea: define an interface which types can implement to fuzz themselves #9

Closed
thockin opened this issue Mar 1, 2015 · 3 comments · Fixed by #12
Closed

Idea: define an interface which types can implement to fuzz themselves #9

thockin opened this issue Mar 1, 2015 · 3 comments · Fixed by #12

Comments

@thockin
Copy link
Contributor

thockin commented Mar 1, 2015

That way I can implement constrained types that fuzz properly within bounds (e.g. an IP address string field).

@lavalamp
Copy link
Contributor

lavalamp commented Mar 2, 2015

This sounds tempting, but consider the case where you want two different fuzzes-- one to test your system with data that passes validation checks and one that doesn't. Both seem valuable. ...I guess you could just have the external function "win" if both exist.

@thockin
Copy link
Contributor Author

thockin commented Mar 2, 2015

That's exactly what I implemented. Site-defined > self-defined >
default-defined > primitives

On Mon, Mar 2, 2015 at 9:04 AM, Daniel Smith notifications@github.com
wrote:

This sounds tempting, but consider the case where you want two different
fuzzes-- one to test your system with data that passes validation checks
and one that doesn't. Both seem valuable. ...I guess you could just have
the external function "win" if both exist.

Reply to this email directly or view it on GitHub
#9 (comment).

@lavalamp
Copy link
Contributor

lavalamp commented Mar 2, 2015

Yeah, I hadn't seen your PR when I wrote that. :) Thanks for the change!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants