testing
Complete testing setup with Neon database branching, Playwright browser tests, integration tests, and unit tests. Isolated branches with automatic TTL cleanup.
Best use case
testing is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Complete testing setup with Neon database branching, Playwright browser tests, integration tests, and unit tests. Isolated branches with automatic TTL cleanup.
Teams using testing should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/testing/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How testing Compares
| Feature / Agent | testing | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Complete testing setup with Neon database branching, Playwright browser tests, integration tests, and unit tests. Isolated branches with automatic TTL cleanup.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Testing Complete testing setup with Neon database branching, Playwright browser tests, integration tests, and unit tests. Isolated branches with automatic TTL cleanup. ## Prerequisites Complete these recipes first (in order): ### Type-Safe Environment Configuration with better-env Use better-env config modules for type-safe server/public env access, feature flags, and either-or credential constraints. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/config-schema-setup ``` ### Neon + Drizzle Setup Connect a Next.js app to Neon Postgres using Drizzle ORM with optimized connection pooling for Vercel serverless functions. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/neon-drizzle-setup ``` ## Cookbook - Complete These Recipes in Order ### Neon Test Branches Create isolated Neon database branches for testing. Schema-only branches with auto-cleanup via TTL, test server orchestration, and environment variable management. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/neon-test-branches ``` ### Unit Tests with Bun Configure unit testing with Bun's built-in test runner. Fast, Jest-compatible syntax, co-located test files, and mocking support. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/unit-tests ``` ### Integration Tests Test API routes by importing handlers directly with Bun's test runner. Fast, reliable tests without HTTP overhead. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/integration-tests ``` ### Browser Tests with Playwright End-to-end browser testing with Playwright. Test user interactions, form validation, navigation, and visual feedback with full browser automation. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/playwright-tests ``` ### Working with Tests Testing strategy and workflow. Tests run in parallel with isolated data per suite. Prioritize Playwright for UI, integration tests for APIs, unit tests for logic. ```bash curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/using-tests ```
Related Skills
url-state-management
Sync React state to URL query parameters for shareable filters, search, and deep-linkable dialogs with nuqs.
stripe-subscriptions
Complete subscription billing system with Stripe integration, feature flags for plan gating, webhook handling, and billing portal.
ralph-loop
Complete setup for automated agent-driven development. Define features as user stories with testable acceptance criteria, then run AI agents in a loop until all stories pass.
observability-monitoring
Complete observability stack with structured logging, error tracking, and web analytics.
env-management
Complete better-env workflow: typed config schema, Vercel sync, and prebuild validation.
base-app-setup
Complete setup guide for a Next.js app with Shadcn UI, Neon Postgres, Drizzle ORM, and AI SDK.
authentication
Complete authentication system with Better Auth, email verification, password reset, protected routes, and account management.
ai-chat
Build a complete AI chat application with database persistence, chat list management, and automatic title generation.
ai-agent-workflow
Build resumable multi-agent workflows with durable execution, tool loops, and automatic stream recovery on client reconnection.
workflow-setup
Install and configure the Workflow Development Kit for resumable, durable AI agent workflows with step-level persistence, stream resumption, and agent orchestration.
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.