Skip to content
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

We need tests in the repository #13

Open
rlepigre opened this issue Jun 25, 2018 · 4 comments
Open

We need tests in the repository #13

rlepigre opened this issue Jun 25, 2018 · 4 comments

Comments

@rlepigre
Copy link
Owner

A first step could be to use this test suite, which is what I originally did (and it is used here).

@Ravenslofty
Copy link
Contributor

I'd actually use the AFL synthesized tests from here, which was what I used as a base point.

@rlepigre
Copy link
Owner Author

rlepigre commented Jun 25, 2018

But do you have coverage guarantees with such tests?

Anyway, it may be a good idea to do both!

@Ravenslofty
Copy link
Contributor

Both is certainly an option. Since AFL works by trying to maximise coverage, it's at least a reasonably thorough test.

@cfcs
Copy link
Collaborator

cfcs commented Jun 28, 2018

👍 for a set of files (regression testing) and using AFL to produce new ways to trip the parsers (that can then be added to the regression testing set)

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

No branches or pull requests

3 participants