bmad-testarch-framework

Scaffolds Playwright, Cypress, or backend test frameworks with fixtures, factories, and configuration.

2|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Wizarck/nexandro --skill bmad-testarch-framework-wizarck
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bmad-testarch-framework
Source: https://github.com/Wizarck/nexandro/tree/main/skills/bmad-testarch-framework
Command: npx skills add https://github.com/Wizarck/nexandro --skill bmad-testarch-framework-wizarck

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Setting up a test framework from scratch involves dozens of decisions—directory structure, config files, fixtures, data factories, environment variables, and CI scripts—that are easy to get wrong and tedious to repeat across projects. ## Core Features & Use Cases - Guided Framework Initialization: Runs a step-by-step workflow that detects your stack (frontend, backend, or fullstack), selects Playwright, Cypress, pytest, JUnit, Go test, xUnit, or RSpec, and scaffolds the complete test directory structure. - Production Patterns Built In: Generates fixture architecture with mergeTests, Faker-based data factories with auto-cleanup, environment files, sample tests, and test documentation. - Validation & Resume Modes: Includes a validation checklist, resume support for interrupted runs, and edit mode for revising generated outputs. - Use Case: A developer starting a new Next.js project says "lets setup test framework" and receives a complete Playwright setup with config, fixtures, factories, sample E2E tests, and a tests/README.md. ## Quick Start Ask the assistant to set up a test framework for your project and it will detect your stack, choose the right framework, and scaffold the full test architecture.

Frequently Asked Questions about bmad-testarch-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Playwright test framework in a new project?▼

Run the framework setup workflow, which detects your stack from package.json, selects Playwright, and scaffolds tests/e2e, support fixtures, data factories, playwright.config.ts, environment files, and sample tests. It also adds test scripts and a tests/README.md.

Playwright vs Cypress: which should I choose for E2E testing?▼

The workflow defaults to Playwright for large repos, multi-browser needs, heavy API plus UI integration, and CI parallelism. It recommends Cypress for small teams prioritizing developer experience, component testing, or simpler setup.

Does this test setup support backend languages like Python or Go?▼

Yes. Backend stack detection reads pyproject.toml, pom.xml, go.mod, csproj, Gemfile, or Cargo.toml and scaffolds idiomatic structures for pytest, JUnit 5, Go test, xUnit, RSpec, or cargo test with appropriate configs and sample tests.

Can I resume an interrupted test framework setup?▼

Yes. The workflow saves progress to a tracking file with frontmatter after each step. Resume mode loads that file, verifies previously created artifacts still exist on disk, shows a progress dashboard, and routes to the next incomplete step.

Does the framework setup support Pact contract testing?▼

Yes. When the pactjs-utils option is enabled for Node.js/TypeScript projects, it creates consumer contract tests using PactV4, a minimal vitest pact config, broker shell scripts, a consumer CI workflow, and package.json scripts for publishing and can-i-deploy checks.