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

Extend fuzz testing #540

Open
donkirkby opened this issue Apr 8, 2023 · 1 comment
Open

Extend fuzz testing #540

donkirkby opened this issue Apr 8, 2023 · 1 comment

Comments

@donkirkby
Copy link
Owner

The current fuzz test includes assignments, printing, and for loops. Add more types of statements to generate_statements().

To learn how, read about abstract syntax trees and then generate trees from sample code using the dump_syntax.py script. Whatever code you generate, the test just checks if it gets displayed the same way after tracing.

See a list of the issues that fuzz testing has already found.

@donkirkby donkirkby added this to the Near future milestone Apr 8, 2023
@donkirkby donkirkby modified the milestones: Near future, 4.11 Sep 22, 2023
donkirkby added a commit that referenced this issue Oct 14, 2023
Also check that reports are deterministic.
@donkirkby
Copy link
Owner Author

Added conditionals and deterministic reports to fuzz testing in 4.11.

@donkirkby donkirkby modified the milestones: 4.11, Near future Oct 14, 2023
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

1 participant