Set up test framework and infrastructure. Run once in Phase 3 after architecture.
From bmad-coworknpx claudepluginhub bspann/bmad-cowork --plugin bmad-coworkThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Captures architectural decisions in Claude Code sessions as structured ADRs. Auto-detects choices between alternatives and maintains a docs/adr log for codebase rationale.
Use when setting up the test framework and infrastructure for a project. Run once in Phase 3 after architecture is defined.
Trigger with: "test framework setup", "configure testing", "set up test infrastructure"
Agent: TEA (Murat)
Input: Architecture doc, _bmad/config.yaml
Output: Test framework configuration files, helper utilities
Read architecture.md and config.yaml. Identify:
Based on stack, recommend and configure:
| Stack | Unit Tests | Integration | E2E | API |
|---|---|---|---|---|
| Next.js/React | Vitest | Vitest + Testing Library | Playwright | Supertest |
| Node/Express | Jest/Vitest | Supertest | Playwright | Supertest |
| Python/FastAPI | pytest | pytest + httpx | Playwright | pytest + httpx |
| Python/Django | pytest-django | pytest | Playwright | pytest |
Provide guidance for CI pipeline integration (detailed setup via bmad-tea-ci):
Save all configuration files. Document setup in _bmad-output/implementation-artifacts/tests/framework-setup.md.