602Course · Expert

Testing

The discipline of proving a contract works.

The Course

The discipline of proving a contract works. Unit, integration, property-based, fuzz, and mutation testing — with Foundry as the primary toolchain.

Outcomes
  • 01

    Write a unit test with Foundry.

  • 02

    Design a property-based test.

  • 03

    Set up fuzzing and mutation testing.

Prerequisites
  • Advanced Solidity.
Pacing

~4 hours.

A Note from the Faculty

Every serious protocol has a test suite that runs in seconds.