Introduction
This section provides a comprehensive overview of the testing procedures employed for Skims. It outlines the types of tests utilized and the rationale behind their selection. We run the following tests:
- Unit tests: These tests target specific components of the codebase that cannot be effectively tested by functional tests alone, such as schedulers, external services, and intricate edge cases. While unit tests serve as a fallback option, the primary focus of Skims testing remains on functional testing.
- Functional tests: These tests execute the entire CLI workflow to replicate its behaviour in a production environment accurately. Designed to operate with mocked test data, functional tests aim to emulate potential user scenarios with meticulous attention to detail.