Static and Dynamic Analysis·Lesson 9 of 20·35 min
Fuzzing and Invariant Testing with Foundry
This lesson is for enrolled learners
The concept Every unit test you've written so far is example-based: you pick specific inputs and assert a specific output. That's necessary but it only tests the cases you thought of. Two more powerful techniques catch what you didn't think of: Fuzz tests run a function hundreds or thousands of times with randomly generated inputs, looking for any input that……
Enroll to continue Already enrolled? Sign in