# Testing the Spec Kitty codebase

- [Testing the Spec Kitty codebase](/development/testing/README.md) - How to run and write tests against the Spec Kitty codebase — the flakiness policy, parallel runs, local mutation testing, Playwright UI e2e, and time-dependent test discipline.
- [CLI Acceptance Scenarios (Cucumber-JVM nightly)](/development/testing/acceptance-scenarios.md) - How to write, run and read the Gherkin acceptance scenarios that check the built spec-kitty CLI every night on Linux, macOS and Windows.
- [CI performance and evidence boundaries](/development/testing/ci-performance.md) - Explain how CI reuses immutable inputs without weakening test and coverage evidence.
- [Integration and e2e test inventory (2026-10-15)](/development/testing/integration-e2e-inventory.md) - The per-file audit of tests/integration and tests/e2e behind the test-pyramid rebalance plan, with each file's layer verdict and what an acceptance scenario would need.
- [Write Permission-Denied Tests](/development/testing/permission-denied-tests.md) - Inject PermissionError at the filesystem seam so a denied-access test gives the same verdict as root and as a regular user.
- [Run Mutation Tests Locally](/development/testing/run-mutation-tests.md) - How to run mutation tests locally with mutmut: mutation testing answers "if I introduced a bug here, would my tests fail?" where line coverage cannot.
- [Test-pyramid rebalance plan](/development/testing/test-pyramid-rebalance.md) - Which layer a Spec Kitty test belongs in, and the measured, wave-by-wave plan for moving end-to-end coverage from tests/integration and tests/e2e into the acceptance scenarios.
- [Test-flakiness handling policy](/development/testing/testing-flakiness.md) - Spec Kitty's suite-wide flaky-test policy: how to detect a flake, what is and isn't allowed (never retry-to-green), and the disposition of each known flake surface.
- [Running the test suite in parallel](/development/testing/testing-parallel.md) - How to run the Spec Kitty test suite in parallel locally and in CI: the one correct command, why it is shaped that way, and reproducing the coverage-neutrality gates.
- [UI End-to-End Tests (Playwright)](/development/testing/ui-e2e.md) - Lessons for browser-driven UI regression tests; the in-repo dashboard Playwright suite was removed with the dashboard (#5530).
- [Write Time-Dependent Tests](/development/testing/write-time-dependent-tests.md) - Inject stable clocks in tests and avoid wall-clock reads inside assertions.
