Invariant testing
fuzz testinginvariant fuzzing
Property-based testing where a fuzzer hammers contract entry points and asserts user-defined invariants hold throughout.
Distinct from unit tests, which assert specific input/output pairs. Invariant testing (Foundry, Echidna) shines at exposing emergent state corruption — the kind of bug formal proofs catch but unit tests miss. A standard component of mature protocol CI pipelines.