donkirkby/live-py-plugin

Extend fuzz testing

Open

#540 opened on Apr 8, 2023

 (1 comment) (0 reactions) (0 assignees)Python (63 forks)auto 404
good first issue

Repository metrics

Stars
 (302 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide