Awesome-omni-skill testing-patterns
Testing patterns using bun:test with in-memory SQLite. Use when writing unit tests, integration tests, or router tests.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/testing-security/testing-patterns-grmkris" ~/.claude/skills/diegosouzapw-awesome-omni-skill-testing-patterns-1a6419 && rm -rf "$T"
manifest:
skills/testing-security/testing-patterns-grmkris/SKILL.mdsource content
Testing Patterns
Use these patterns for writing tests with bun:test and in-memory SQLite.
When to Use
- Writing unit tests for business logic
- Testing ORPC router handlers
- Integration testing with database
Key Files
- Test infrastructure (createTestSetup, createTestContext)src/test/setup.ts
- Test helper functionssrc/test/helpers.ts
Pattern Files
- setup.md - Test setup and infrastructure
- helpers.md - Test helper patterns