donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
290 stars 57 forks source link

Extend fuzz testing #540

Open donkirkby opened 1 year ago

donkirkby commented 1 year ago

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 commented 8 months ago

Added conditionals and deterministic reports to fuzz testing in 4.11.