run-tests

Execute tests and analyze coverage gaps across supported frameworks.

2|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/adolfoaranaes12/BMAD-ENHANCED --skill run-tests-adolfoaranaes12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/adolfoaranaes12/BMAD-ENHANCED/tree/main/.claude/skills/run-tests
Command: npx skills add https://github.com/adolfoaranaes12/BMAD-ENHANCED --skill run-tests-adolfoaranaes12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, jest, bmad-commands, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates running tests, collecting coverage data, identifying coverage gaps, and suggesting concrete tests to improve code quality and reliability.

Core Features & Use Cases

  • Execute tests across supported frameworks via bmad-commands
  • Generate and parse coverage reports
  • Analyze coverage gaps with criticality and produce concrete test suggestions
  • Telemetry and audit-friendly results for quality gates

Quick Start

Use the run-tests skill to execute tests in the repository and produce a comprehensive JSON/text output including coverage and gaps.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I automate test execution and measure code coverage across my project?

Test automation executes unit and integration tests across supported frameworks like pytest, jest, junit, gtest, cargo, and go, then generates coverage reports showing what code is tested. This identifies untested portions and ensures quality gates are met, typically enforcing ≥80% coverage per metric.

Can I run tests on specific files or just entire test suites?

Yes, the Skill supports scoped test execution via task_id, file_path, or --all options, letting you target specific components or run comprehensive coverage analysis across your full codebase.

What frameworks does automated test execution support?

Test automation supports jest, pytest, junit, gtest, cargo, and go test frameworks with auto-detection or explicit framework specification, enabling coverage collection and gap analysis regardless of your testing stack.

How do I identify what tests are missing from my codebase?

Coverage gap analysis categorizes untested code by criticality and produces concrete test suggestions to improve coverage, delivering actionable guidance on where new tests will have the greatest impact.

Does test automation produce audit-friendly output for quality gates?

Yes, the Skill generates comprehensive JSON and text outputs with coverage metrics, gap categorization, and telemetry data designed for workflow tracking and quality gate enforcement.

What happens if my project uses multiple testing frameworks?

The Skill auto-detects or accepts explicit framework declaration for jest, pytest, junit, gtest, cargo, and go, enabling mixed-framework projects to execute tests and collect unified coverage reports across all test types.