Unit Tests for Smart Contracts
Davi Pedro Bauer · Apress eBooks · 2022
Unit tests are used to test code execution scenarios and ensure that they behave as expected. Most important, unit tests allow you to refactor code and make new changes without breaking existing behaviors.