run-comprehensive-tests

Run Vitest/Jest tests and emit a deterministic JSON report with outcomes and coverage.

7|3|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/BerryKuipers/claude-code-toolkit --skill run-comprehensive-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-comprehensive-tests
Source: https://github.com/BerryKuipers/claude-code-toolkit/tree/main/.claude/skills/testing/run-comprehensive-tests
Command: npx skills add https://github.com/BerryKuipers/claude-code-toolkit --skill run-comprehensive-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npm, grep, sed.

What problem does it solve?

Manually running and analyzing test results, especially detailed failures and coverage, is time-consuming and can delay critical feedback in the development cycle. This Skill automates comprehensive test execution and analysis.

Core Features & Use Cases

  • Universal Test Execution: Executes the complete test suite for any TypeScript/JavaScript project, supporting frameworks like Jest, Vitest, and Mocha.
  • Structured Results & Analysis: Parses test output to provide total, passed, and failed test counts, coverage percentages, duration, and enhanced failure analysis with file paths, error messages, and line numbers.
  • Early Bug Detection: Quickly identifies failing tests and provides actionable details for debugging.
  • Use Case: Integrate this Skill into your Quality Assurance phase or CI/CD pipeline to automatically run all tests, validate results, and provide immediate, structured feedback on code quality.

Quick Start

Run comprehensive tests with coverage on your project

Assumes a test script is configured in package.json (e.g., "test": "vitest run --coverage").

run-comprehensive-tests

Output:

{

"status": "pass",

"summary": {"total": 45, "passed": 45, "failed": 0, "coverage": 87.5, "duration": "12.3s"},

"failures": [],

"canProceed": true

}

Frequently Asked Questions about run-comprehensive-tests

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

FAQPage Schema
How do I run tests and get coverage for my Node.js project?

Run comprehensive tests to execute your full test suite, collect passed and failed counts, calculate coverage percentages, and generate a structured JSON report with test outcomes and duration metrics.

Can I use this to automate testing in my CI/CD pipeline?

Yes, this integrates into CI/CD workflows and QA phases to automatically execute Vitest or Jest tests, parse results, and provide deterministic JSON output with status and canProceed flags for pipeline decisions.

What information do I get from test failure analysis?

Test failure analysis provides detailed failure information including file paths, error messages, and line numbers alongside total, passed, and failed test counts for quick debugging and actionable feedback.

Does this work with TypeScript and JavaScript projects?

Yes, it executes the complete test suite for any TypeScript or JavaScript project supporting Jest, Vitest, and Mocha frameworks via the npm test script configured in package.json.

What are the prerequisites to run comprehensive tests?

Prerequisites include a configured test script in package.json, installed node_modules, and a Node.js environment with npm available to invoke npm run test.

Why should I use automated testing instead of manual test runs?

Automated testing eliminates manual analysis delays, provides immediate structured feedback on code quality, enables early bug detection, and integrates seamlessly into pre-PR checks and CI/CD workflows.