For audit purpose and testing of WiseLending
๐ท To run all tests together can use foundry/forge
yarn foundry-test
๐งช To generate test-coverage report simply run this command (without starting local chain)
yarn foundry-coverage
๐ 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
there are also some additional tests in /test folder for hardhat setup