bmad-testarch-automate

Generate prioritized tests and supporting infrastructure for Python codebases.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/wahabmalik/whatsapp-chatbot --skill bmad-testarch-automate-wahabmalik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-testarch-automate
Source: https://github.com/wahabmalik/whatsapp-chatbot/tree/main/.github/skills/bmad-testarch-automate
Command: npx skills add https://github.com/wahabmalik/whatsapp-chatbot --skill bmad-testarch-automate-wahabmalik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill 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, saving time and reducing manual effort.

Core Features & Use Cases

  • Test Automation Expansion: Generates prioritized tests at various levels (E2E, API, Component, Unit) with supporting fixtures and helpers.
  • Integration with BMAD Artifacts: Utilizes story/PRD/test-design artifacts when available for more targeted testing.
  • Standalone Mode: Analyzes existing codebases without BMAD artifacts.
  • Test Level Selection: Identifies and selects appropriate test levels based on the codebase and requirements.
  • Priority Assignment: Assigns test priorities (P0, P1, P2, P3) to manage test execution and coverage focus.
  • Infrastructure Generation: Creates necessary test infrastructure, including fixtures, factories, and helper utilities.
  • Test File Generation: Generates test files at various levels, ensuring comprehensive coverage of the codebase.
  • Validation and Healing: Validates generated tests and applies healing strategies for flaky tests or errors.
  • Documentation and Scripts: Updates documentation and scripts for easy test execution and maintenance.
  • Integration Points: Integrates with various frameworks, CI pipelines, and BMAD workflows.

Quick Start

Use the bmad-testarch-automate skill to expand test coverage for your codebase by running the command 'bmad-testarch-automate' followed by your specific requirements.

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 for my codebase?

Automating test coverage expansion involves analyzing your codebase to generate prioritized E2E, API, component, and unit tests with necessary fixtures. This Skill automates that process using Python, creating infrastructure and validating tests to reduce manual effort.

Does test generation work with frontend, backend, and fullstack applications?

Test generation applies to frontend, backend, and fullstack applications. It identifies and selects appropriate test levels based on your specific codebase and requirements, ensuring comprehensive coverage across different application types.

Can I use codebase analysis for test generation without existing test design documents?

You can use codebase analysis for test generation without test design documents using standalone mode. While it can utilize story, PRD, or test-design artifacts for targeted testing when available, it can also analyze existing codebases directly.

How do generated tests handle flaky behavior and execution errors?

Generated tests handle flaky behavior and errors through validation and healing strategies. The system validates generated test files and applies automated healing mechanisms to resolve flaky tests or execution errors, updating scripts for maintenance.

What is the best way to assign test priorities during automated test creation?

The best way to assign test priorities during automated test creation is to categorize tests into P0, P1, P2, and P3 levels. This priority assignment manages test execution focus and ensures critical codebase paths receive coverage attention first.

Do I need specific testing frameworks knowledge to integrate generated tests into CI pipelines?

Knowledge of testing patterns, frameworks, and best practices is required to integrate generated tests into CI pipelines. The Skill generates integration points and scripts, but configuring pipelines requires understanding your specific testing frameworks and infrastructure.