Skip to content

Testing

ohadedry edited this page Oct 22, 2025 · 1 revision

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

Clone this wiki locally