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.md
source 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

  • src/test/setup.ts
    - Test infrastructure (createTestSetup, createTestContext)
  • src/test/helpers.ts
    - Test helper functions

Pattern Files