What problem does it solve?
Addresses the lack of a unified testing guideline by codifying regression policies, test quality rules, and migration steps for Swift Testing in cmux.
Core Features & Use Cases
- Regression commit policy: two-commit structure to show a failing test first and a passing fix.
- Test quality standards: ensure behavioral, end-to-end, and integration tests validate runtime behavior, not just code fragments.
- Migration guidance: provides a path to convert XCTest tests to Swift Testing and aligns with the project's testing framework.
- Local vs CI validation: clarifies when to run reload.sh versus full unit test targets to avoid false confidence.
- Reference material: points to detailed migration and regression references in the repository.
Quick Start
Follow the two-commit regression rule: add the failing test first, then the fix, and migrate XCTest tests to Swift Testing when touching tests or refactoring.