Basic fuzzing example with foundry for ERC-20 token
Getting Started
This is an example of how you may test your contract by fuzzing or making use of property-based testing using foundry.
Prerequisites
You will need to install foundry for running the example. Link for installtion foundry.
How to setup project
You can setup the project for testing by following the steps below.
- Clone the repo
git clone https://github.com/abdulsamijay/foundry-fuzzing-basic-erc20.git
- Build the example to install all packages
forge build
- Run the test
forge test -vvvv
More examples
For more references, please refer to the Foundry Documentation