Skip to content

Introduction

This section provides a comprehensive overview of the testing procedures employed for Probes. It outlines the types of tests utilized and the rationale behind their selection.

Probes has 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.

Developing a functional or unit test follows the same logic as Skims, you can refer to that section of the documentation for help.