wise-foundation / lending-audit

5 stars 4 forks source link

wise-lending

Process and Testing

For audit purpose and testing of WiseLending

Do an npm install / yarn install / bun install

๐Ÿ‘ท To run all tests together can use foundry/forge

yarn foundry-test

Test coverage

๐Ÿงช To generate test-coverage report simply run this command (without starting local chain)

yarn foundry-coverage

Deployment

๐Ÿš€ To deploy automatically add .env file and specify PRIVATE_KEY=YOUR_KEY and ETHERSCAN_API_KEY=YOUR_API_KEY then use command below or equivalent in package.json

P.S.

there are also some additional tests in /test folder for hardhat setup