bmad-testarch-framework

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

6|Updated Aug 29, 2026
One-click install
npx skills add https://github.com/HordRicJr/Akomagni --skill bmad-testarch-framework-hordricjr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-testarch-framework
Source: https://github.com/HordRicJr/Akomagni/tree/main/bmad-core/.agents/skills/bmad-testarch-framework
Command: npx skills add https://github.com/HordRicJr/Akomagni --skill bmad-testarch-framework-hordricjr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up a production-grade test framework from scratch involves dozens of decisions: framework selection, directory structure, fixture architecture, data factories, environment configuration, and CI-ready reporters. This Skill automates that entire scaffolding process so a project gets a consistent, best-practice test setup instead of an ad-hoc one. ## Core Features & Use Cases - Stack-aware framework selection: Auto-detects frontend, backend, fullstack, or mobile projects and selects Playwright, Cypress, pytest, JUnit, Go test, xUnit, RSpec, or Maestro accordingly. - Complete scaffold generation: Creates test directories, framework config with tuned timeouts and reporters, .env.example, fixtures with mergeTests, faker-based data factories with auto-cleanup, and sample tests following Given-When-Then structure. - Tri-modal workflow: Supports Create, Resume, Validate, and Edit modes with progress tracking frontmatter, plus a validation checklist covering configuration, execution, and quality gates. - Use Case: A developer starting a React storefront says "lets setup test framework" and receives a Playwright setup with auth fixtures, network interception samples, test scripts in package.json, and a tests/README.md documenting how to run everything. ## Quick Start Ask the AI to set up a test framework for this project, for example by saying "lets setup test framework" or "I want to initialize testing framework".

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 an existing project?

Activate the workflow by saying you want to set up a test framework. It detects your stack from package.json, scaffolds tests/e2e and tests/support directories, generates playwright.config.ts with tuned timeouts and reporters, and adds fixtures, factories, and sample tests.

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. You can override the choice via config.

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

Yes. Backend stacks get idiomatic setups: pytest with conftest.py for Python, JUnit 5 for Java, Go test conventions for Go, xUnit for .NET, and RSpec for Ruby. Mobile projects get Maestro flows plus the app's unit test framework.

Can I resume an interrupted test framework setup?

Yes. The workflow saves progress to a tracking file with frontmatter after each step. Choosing Resume mode loads that file, verifies previously created artifacts still exist on disk, and routes to the next incomplete step without re-running finished work.

What happens if my project already has a test framework installed?

The preflight step checks for existing configs like playwright.config or cypress.config and halts with a report if a conflicting framework is detected, preventing duplicate or broken scaffolding.