Testing
Testing is vital to ensure that smart contracts are safe, resilient, and accurate.
Guides in this category:
๐๏ธ Unit Tests
Unit tests are small tests that test smart contracts.
๐๏ธ Mocking
Mocking dependency contracts in tests.
๐๏ธ Integration Tests
Integration testing uses dependency contracts instead of mocks.
๐๏ธ Fuzzing
Fuzzing and property testing to find unexpected behavior.
๐๏ธ Differential Tests
Differential testing detects unintended changes.
๐๏ธ Differential Tests with Test Snapshots
Differential testing using automatic test snapshots.
๐๏ธ Mutation Testing
Mutation testing finds code not tested.
๐๏ธ Test Authorization
Write tests that test contract authorization.
๐๏ธ Test Events
Write tests that test contract events.