This repository is meant to provide some examples of the more advanced features of Foundry. The main focus as of now will be to show how to use the powerful invariant testing and fuzzing that foundry is capable of to make the most out of your contract's test suite.
- Foundry
- Foundry Book
- Foundry testdata Fuzz/Invariants
- forge-std
- forge-std InvariantTest
- maple-labs invariant test example
- Optimism Bedrock invariant examples
- Matt Solomon's solidity-sandbox invariants
- solmate
- If you find other good examples to include let me know!
If you have any recommendations for improvement or criticism please reach out to me on twitter or send PR, my goal is to learn myself in the process of making this, how to write more professional contract tests and help others learn in the process.