Skip to content
Back to skills

Context Testing Infrastructure

ASecurity

Tiered testing strategy (UI mock, auth stub, full-stack), fixtures, mocks, and test configuration. Handles test setup, Playwright E2E tests, pytest backend tests, mocking strategies, and CI test configuration. Use when working with tests, test setup, mocking strategies, or CI test configuration, or when user mentions test patterns, auth stub, fixture loaders, Playwright tests, test failures, tiered testing, UI mock, E2E tests, pytest, vitest, or debugging test issues.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
testingtestingdebuggingdatabasefrontendbackenddocumentation

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill context-testing-infrastructure --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Testing Infrastructure?

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

Security grade badge for Context Testing Infrastructure
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-context-testing-infrastructure/badge)](https://www.skillsdirectory.com/skills/majiayu000-context-testing-infrastructure)

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: context-testing-infrastructure
description: |
  Tiered testing strategy (UI mock, auth stub, full-stack), fixtures, mocks, and test configuration.
  Handles test setup, Playwright E2E tests, pytest backend tests, mocking strategies, and CI test configuration.
  Use when working with tests, test setup, mocking strategies, or CI test configuration,
  or when user mentions test patterns, auth stub, fixture loaders, Playwright tests, test failures,
  tiered testing, UI mock, E2E tests, pytest, vitest, or debugging test issues.
tags: [testing, qa, infrastructure]
---

# Testing Infrastructure

Navigate tiered testing strategy (ui-mock, auth-stub, full-stack), fixtures, and configs.

## Overview

Three-tier testing strategy for speed/isolation balance. See `docs/testing/STRATEGY.md`.

## E2E Test Tiers

### Tier 1: UI Mock
- **Location**: `frontend/e2e-tiers/tier-ui-mock/`
- **Speed**: <5s
- **Purpose**: UI-only, no backend

### Tier 2: Auth Stub
- **Location**: `frontend/e2e-tiers/tier-auth-stub/`
- **Speed**: <30s
- **Purpose**: Real frontend + stubbed auth

### Tier 3: Full Stack
- **Location**: `frontend/e2e-tiers/tier-full-stack/`
- **Speed**: ~60s+
- **Purpose**: Complete integration

## E2E Tests

- `frontend/e2e/*.spec.ts` - Main E2E tests
- `frontend/e2e-smoke/*.spec.ts` - Smoke tests

## Backend Tests

- `backend/tests/unit/` - Unit tests
- `backend/tests/integration/` - Integration tests
- `backend/tests/manual/` - Manual tests
- `backend/tests/conftest.py` - Pytest fixtures
- `backend/tests/fixtures/` - Mock fixtures

## Test Utilities

- `scripts/lib/db_test_utils.py` - Database utilities
- `scripts/test_*.py` - Test helpers
- `scripts/quick_fix_test_data.py` - Quick data generation
- `scripts/generate-dev-data.ts` - Dev data seeding
- `frontend/src/test-utils/` - Frontend test utilities

## Smoke Tests

- `backend/smoke_endpoints.py` - Backend health checks
- `frontend/e2e-smoke/` - Frontend smoke tests

## Configuration

- `frontend/playwright*.config.ts` - Playwright configs
- `pytest.ini` - Pytest configuration
- `frontend/vitest.config.ts` - Vitest config (if used)

## Documentation

- **Internal**: `docs/testing/STRATEGY.md`

## Related Areas

- See `context-plaid-integration` for Plaid test patterns
- See `context-clerk-integration` for auth stub patterns
- See `context-infrastructure` for CI integration

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.