testing

Run test suites and generate pass/fail verdicts with coverage reports.

7|3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill testing-brainbrewlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/brainbrewlabs/brainbrew-devkit/tree/main/plugin/config/templates/devops/skills/testing
Command: npx skills add https://github.com/brainbrewlabs/brainbrew-devkit --skill testing-brainbrewlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates running test suites and producing clear pass/fail and coverage reports so engineers can validate code quality before merging or deploying. It removes manual detection of test frameworks and the tedious work of extracting test counts and coverage metrics from raw output.

Core Features & Use Cases

  • Framework detection: Inspect repository indicators (package.json, pytest.ini, go.mod, Cargo.toml, Makefile) and select the appropriate test command.
  • Execution and reporting: Run tests with verbose flags, capture raw terminal output, and summarize total, passed, failed, and skipped tests along with durations.
  • Coverage extraction and evidence: Run available coverage commands, extract line/branch/function percentages, and include raw logs and failing test error messages in the report.
  • Use case: Before creating a release PR, run this Skill to validate that all tests pass, include coverage results in the PR description, and attach raw test logs for reviewers.

Quick Start

Run the full test suite, capture the raw output, and generate a summarized pass/fail and coverage report for the repository.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I run test suites and generate coverage reports across different languages?

Running test suites and generating coverage reports is handled by automatically detecting the test framework from repository files, executing the appropriate commands, and summarizing total, passed, failed, and skipped counts alongside line, branch, and function coverage percentages.

How does automated test framework detection work for Node, Python, Go, and Rust?

Test framework detection works by inspecting repository indicators such as package.json, pytest.ini, go.mod, and Cargo.toml to identify the language and automatically select the appropriate test command for execution.

Can I extract failing test names and error messages from raw terminal output?

Yes, extracting failing test names and error messages from raw terminal output is supported. The Skill captures verbose terminal logs during execution and surfaces specific failing test details alongside the summary counts.

Does this testing Skill work with pytest and npm test automation in CI?

Yes, this testing Skill works with pytest and npm for test automation in CI. It detects these frameworks via pytest.ini and package.json, runs the available coverage commands, and produces pass/fail verdicts suitable for validating code before merging.

What is the best way to validate code quality before creating a release PR?

The best way to validate code quality before a release PR is to run automated test suites that generate pass/fail verdicts and coverage reports, allowing you to attach raw test logs and coverage metrics directly to the PR description for reviewers.