Skip to content
Back to skills

Testing Patterns Grmkris

ASecurity

Testing patterns using bun:test with in-memory SQLite. Use when writing unit tests, integration tests, or router tests.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
testingsqltestingdatabase

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill testing-patterns-grmkris --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testing Patterns Grmkris?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testing Patterns Grmkris
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-testing-patterns-grmkris/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-testing-patterns-grmkris)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: testing-patterns
description: Testing patterns using bun:test with in-memory SQLite. Use when writing unit tests, integration tests, or router tests.
globs:
  - src/**/*.test.ts
  - src/**/*.spec.ts
  - src/test/**/*.ts
alwaysApply: false
---

# 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

- [setup.md](setup.md) - Test setup and infrastructure
- [helpers.md](helpers.md) - Test helper patterns

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.