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.
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.