bmad-testarch-automate

Generate prioritized E2E, API, Component, and Unit tests with supporting infrastructure.

15|2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/lorenzogm/bmad-ui --skill bmad-testarch-automate-lorenzogm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-testarch-automate
Source: https://github.com/lorenzogm/bmad-ui/tree/main/.cursor/skills/bmad-testarch-automate
Command: npx skills add https://github.com/lorenzogm/bmad-ui --skill bmad-testarch-automate-lorenzogm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, pact-js, bmad, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the expansion of test coverage for codebases, streamlining the process of identifying and generating tests for various levels of software testing.

Core Features & Use Cases

  • Test Automation: Automatically identify and generate tests for different levels (E2E, API, Component, Unit).
  • Integration with BMAD: Integrates with BMAD artifacts (stories, tech-specs, PRDs) for more comprehensive testing.
  • Standalone Mode: Can analyze and generate tests from codebases without BMAD artifacts.
  • Coverage Plan Creation: Creates a detailed coverage plan for identified test targets.
  • Test Generation: Generates tests with priority tags and structured for maintainability.
  • Validation and Healing: Validates generated tests and applies healing strategies for flaky tests.
  • Documentation and Scripts: Updates documentation and package.json scripts for test execution.

Quick Start

Activate the skill with the command: "bmad-testarch-automate"

Frequently Asked Questions about bmad-testarch-automate

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

FAQPage Schema
How do I automate test coverage expansion across E2E, API, component, and unit levels?

Automated test generation analyzes your codebase to create prioritized tests across E2E, API, component, and unit levels, utilizing data factories and fixture architectures while updating package.json scripts for execution.

Can I generate tests from a codebase without using BMAD artifacts?

Standalone mode analyzes codebases directly to generate tests without requiring BMAD artifacts, while integration mode leverages BMAD stories, tech-specs, and PRDs to create more comprehensive test coverage plans.

Does this test automation approach work with Playwright and pact-js?

Playwright and pact-js are required dependencies that enable the test automation workflow to execute generated E2E and API tests, providing the necessary framework infrastructure for validation and healing strategies.

What is the best way to handle flaky tests generated for an existing codebase?

Flaky tests are addressed through built-in validation and healing strategies applied after generation, which stabilize the test suite and ensure reliable execution across E2E, API, component, and unit tests.

How do I create a detailed coverage plan for identified test targets?

Coverage plans are created by analyzing codebases or BMAD artifacts to identify targets, then generating structured plans with priority tags and maintainable tests supported by data factories and fixture architectures.