Writing Tests

How to write a Kiro Crew backend test that has NO side effects and does not flake. Use when adding, editing, reviewing, or debugging a pytest test in the Kiro Crew source repo: which conftest is under your file, what leaks (temp dirs, the real data home, ~/.kiro, cron, threads, child processes), how to tell which of the six flake classes you have and where each one's fix is written, and the cross-platform traps on macOS/Linux/Windows and arm64. Also covers diagnosing a residue failure and keeping the parallel suite fast.

kirodotdev Updated 4.8k repo stars
Kiro Crew. Keep work moving. Runs on your hardware, remembers across sessions, keeps working unattended.

File contents

kirodotdev/kirocrew commit 2e892fbc1b

Frequently asked questions

npx get-skill add kirodotdev/writing-tests