analyze-tests

Analyze test coverage and quality across unit, integration, e2e, and instrumented test suites.

Updated May 11, 2026
One-click install
npx skills add https://github.com/TomasGC/Meerkat --skill analyze-tests-tomasgc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-tests
Source: https://github.com/TomasGC/Meerkat/tree/main/skills/analyze-tests
Command: npx skills add https://github.com/TomasGC/Meerkat --skill analyze-tests-tomasgc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Development teams often lack visibility into which test scenarios are missing, whether coverage thresholds are met, and whether existing tests are flaky, slow, or poorly structured. This Skill performs autonomous black box analysis to identify untested code paths, security gaps, and quality issues before they cause production failures. ## Core Features & Use Cases - Black Box Coverage Analysis: Identifies all possible inputs and expected outputs for every function or endpoint, then maps existing tests to find untested scenarios prioritized by risk (CRITICAL to LOW). - Quality & Security Assessment: Detects flaky tests, slow tests, disabled tests, weak assertions, and missing security tests for authentication, injection, IDOR, and data protection. - Business Mapping & CI/CD Review: Maps tests to user stories and acceptance criteria, validates coverage thresholds (80% global, 100% business rules), and analyzes pipeline test integration. - Use Case: Before a release, ask the Skill to review your repository. It runs coverage tools, finds that duplicate-email registration is untested (CRITICAL), flags three time-dependent flaky tests, and delivers a prioritized report with concrete test code examples. ## Quick Start Ask the assistant to analyze the test coverage and quality of this repository and list the missing tests by priority.

Frequently Asked Questions about analyze-tests

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

FAQPage Schema
How do I check test coverage and find missing tests in my project?

Run the analysis on your repository to execute coverage tools like dotnet test, jest --coverage, or pytest --cov, then compare results against existing tests. The output lists untested scenarios in Given-When-Then format, prioritized from CRITICAL to LOW with code examples.

What test frameworks does this test analysis support?

It supports xUnit, NUnit, and MSTest for .NET; Jest, Mocha, and Vitest for JavaScript; pytest for Python; Go testing; JUnit for Java and Kotlin; XCTest for Swift; RSpec for Ruby; PHPUnit for PHP; plus Pester, Bats, pgTAP, and Terratest.

Can it detect flaky and slow tests automatically?

Yes. It flags time-dependent tests using DateTime.Now or unseeded random values, network-dependent tests without mocks, and order-dependent tests. It also measures execution time against thresholds of 1s for unit, 10s for integration, and 30s for e2e tests.

Does the analysis cover security testing gaps?

Yes. It verifies tests exist for authentication and authorization failures, SQL injection, XSS, command injection, path traversal, IDOR, rate limiting, CSRF, and sensitive data exposure in logs. Missing security tests are reported as HIGH priority.

When does the analysis delegate to a sub-agent instead of running directly?

Delegation to the black-box-analyzer agent occurs when the project has 50 or more endpoints, 100 or more test files, or multiple modules. One agent is spawned per module for parallel analysis, and results are aggregated into a single report.

What are the limitations of automated test coverage analysis?

Coverage percentages measure executed lines, not assertion quality, so high coverage can coexist with weak tests. Mutation testing tools like Stryker or mutmut address this but must be installed separately, and business rule mapping requires accessible requirement documentation.