Contract Driven Testing

Derive a three-level test pyramid directly from a function's Code Contracts (preconditions, postconditions, invariants) — contract-targeted unit tests, property-based tests, precondition-violation tests, plus the no-contracts fallback and the contract review checklist. Loaded by the code-critic agent.

bobmatnyc eb8a03b 7.2 KB Updated 71 repo stars

File contents

bobmatnyc/trusty-tools/tree/main/crates/trusty-code/src/assets/skills/contract-driven-testing commit eb8a03bed3

Frequently asked questions

npx skillmds@latest add bobmatnyc/contract-driven-testing