The Definitive Guide for Testing Smart Contracts on Stellar
How do we know that something works? With tests! Testing is a critical part of software development that increases our understanding of code, and the chance that the code actually does what we intended it to. But how far do we go? Is 100% code coverage the goal? What types of tests do we write? When do we write them? Come on a pair coding journey where we’ll build a contract, test driven, and explore many types of tests that Soroban contracts can be tested with today, including: unit tests, mocks, integration tests, invariants, test snapshots, end-to-end tests, differential tests.