1
Testing
ohadedry edited this page 2025-10-22 10:20:21 +03:00

Fabric CLI tests

Fabric CLI supports 2 types of tests, E2E for commands and unit tests for non-commands code like utils and core functionality.

E2E command tests

Please see Test authoring

Test Requirements for Contributions

  • Maintain coverage: Keep test coverage at current levels (~90% for commands, ~80% overall)
  • Add tests for new features: All new functionality must include appropriate tests
  • Test both success and failure cases: Cover normal operation and error conditions
  • Use descriptive test names: Test names should clearly describe what is being tested