Testing

Testing conventions for openzeppelin-contracts. Use when writing or modifying tests, mocks, or formal verification specs. Covers hardhat-exposed $-wrappers, when manual mocks are warranted, Hardhat+Chai patterns (loadFixture, shouldBehaveLike, multi-target loops), Foundry fuzz, Halmos symbolic execution, Certora rule-based verification, and the changeset rule.

OpenZeppelin Updated

File contents

OpenZeppelin/openzeppelin-contracts/tree/main/.claude/skills/testing commit 380569a722

Frequently asked questions

npx skillmds@latest add openzeppelin-openzeppelin-contracts/testing