run-comprehensive-tests
Execute comprehensive test suite (Vitest/Jest) with coverage reporting and failure analysis. Returns structured output with test counts (total/passed/failed), coverage percentage, duration, and detailed failure information. Used for quality gates and CI/CD validation.
Security Assessment
About run-comprehensive-tests
The 'run-comprehensive-tests' skill is designed to execute a comprehensive test suite, typically using Vitest or Jest, for your project. It solves the problem of automating the process of running tests and capturing key metrics such as test pass/fail status, coverage percentage, and test durations, which are crucial for decision-making during development. This skill ensures that teams can track the quality of their code continuously and act on results before moving forward in their workflow, reducing the risk of integrating faulty code into production.
FAQ
How does the skill report the test results?
The skill provides a structured JSON output, detailing the number of total tests, passed tests, failed tests, coverage percentage, and test duration. If any tests fail, it also includes failure details, such as the file, test name, error message, and the specific line number.
Which testing frameworks are supported by the skill?
The skill primarily supports Vitest and falls back to Jest if Vitest is unavailable. It also supports coverage reporting via tools like c8 or Istanbul.
What is required to use the 'run-comprehensive-tests' skill?
You must have a test framework installed (Vitest or Jest) and the necessary test scripts configured in your project's package.json file. The typical script configuration would be something like 'test': 'vitest run --coverage'.
Can this skill be used in CI/CD pipelines?
Yes, this skill is designed to be used in CI/CD pipelines as part of a quality-gate workflow. It helps validate the quality of the code before proceeding with pull requests or deploying to production.
Install run-comprehensive-tests
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
BerryKuipers/claude-code-toolkit