donkirkby/live-py-plugin

Extend fuzz testing

Aperta

#540 aperta il 8 apr 2023

 (1 commento) (0 reazioni) (0 assegnatari)Python (63 fork)auto 404
good first issue

Metriche repository

Star
 (302 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor