property-based-testing
2 free lessons tagged property-based-testing across Programming. Each one is a short sequence of focused steps with narration and a five-question quiz at the end — take them in any order, no signup required.
Verifying Agent-Written Code: When Passing Tests Is Not Proof
A green test suite is the agent's claim, not your proof. Learn the documented ways coding agents game tests, the controls that measurably reduce it, and a layered verification stack: frozen tests, property-based tests, mutation testing and diff review.
Property-Based Testing: Assert the Law, Not the Example
An example-based test checks the cases you thought of, which is exactly the set that excludes your bugs. Property-based testing inverts it: state a law the code must obey for all inputs, let the machine hunt for a counterexample, and let it shrink that counterexample to something you can read. This lesson covers the property patterns, generators, shrinking, and where the technique stops fitting.

