Claude-skill-registry context-testing-infrastructure
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/context-testing-infrastructure" ~/.claude/skills/majiayu000-claude-skill-registry-context-testing-infrastructure && rm -rf "$T"
manifest:
skills/data/context-testing-infrastructure/SKILL.mdsource content
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
- Main E2E testsfrontend/e2e/*.spec.ts
- Smoke testsfrontend/e2e-smoke/*.spec.ts
Backend Tests
- Unit testsbackend/tests/unit/
- Integration testsbackend/tests/integration/
- Manual testsbackend/tests/manual/
- Pytest fixturesbackend/tests/conftest.py
- Mock fixturesbackend/tests/fixtures/
Test Utilities
- Database utilitiesscripts/lib/db_test_utils.py
- Test helpersscripts/test_*.py
- Quick data generationscripts/quick_fix_test_data.py
- Dev data seedingscripts/generate-dev-data.ts
- Frontend test utilitiesfrontend/src/test-utils/
Smoke Tests
- Backend health checksbackend/smoke_endpoints.py
- Frontend smoke testsfrontend/e2e-smoke/
Configuration
- Playwright configsfrontend/playwright*.config.ts
- Pytest configurationpytest.ini
- Vitest config (if used)frontend/vitest.config.ts
Documentation
- Internal:
docs/testing/STRATEGY.md
Related Areas
- See
for Plaid test patternscontext-plaid-integration - See
for auth stub patternscontext-clerk-integration - See
for CI integrationcontext-infrastructure