Writing Tests

Apply when writing tests, modifying test files, fixing test failures, debugging CI failures, adding test coverage, creating adversarial tests, or reviewing any file under tests/. Also apply when implementing features or fixes that require corresponding test changes. Enforces bun:test framework rules, mock isolation, cross-platform compatibility (Linux, macOS, Windows), and CI pipeline awareness. Load this skill before touching any test file.

zaxbysauce afc3b8c 595 B Updated

File contents

Writing Tests for opencode-swarm

Framework: bun:test Only

All test files MUST import from bun:test

zaxbysauce/zaxbychat/tree/main/.claude/skills/writing-tests commit afc3b8cd85

Frequently asked questions

npx skillmds@latest add zaxbysauce/writing-tests