test-runner

Automate test discovery and execution for Node.js projects using Jest or Vitest.

1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/elsolal/Skillz-Claude --skill test-runner-elsolal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-runner
Source: https://github.com/elsolal/Skillz-Claude/tree/main/.claude/skills/test-runner
Command: npx skills add https://github.com/elsolal/Skillz-Claude --skill test-runner-elsolal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of writing and executing tests to validate software implementations, reducing manual testing effort and increasing confidence in code correctness.

Core Features & Use Cases

  • Test discovery: Detects test files and frameworks (e.g., Jest, Vitest, Pytest) and locates existing tests.
  • Test execution: Runs tests via the project's package scripts and captures results.
  • Quality metrics: Reports coverage and test status, supports ATDD workflows and standard test cycles.
  • Use Case: After implementing a feature, run tests to ensure the new code passes all unit and integration tests.

Quick Start

Start by triggering the test-runner with a target directory or file to test, then run the project’s test command (e.g., npm test). You can specify how to handle coverage reports and how to interpret failures.

Frequently Asked Questions about test-runner

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

FAQPage Schema
How do I run unit and integration tests automatically after code changes in Node.js?

Automate test discovery and execution by targeting a directory, detecting the project's test framework like Jest or Vitest, and running npm test to capture unit and integration test results.

What is the process for detecting and running existing tests in a project?

The process involves scanning a target directory to identify test frameworks and locate test files, then executing the project's package scripts to run tests and report quality metrics.

Does this test runner approach work with both Jest and Vitest frameworks?

Yes, it applies to Node.js projects using either Jest or Vitest, automatically detecting the test framework to locate files and execute tests.

How do I execute tests using npm scripts and capture coverage metrics?

Trigger the runner with a target directory or file, run the project's npm test command, and specify how to handle coverage reports and interpret test failures.

Can I use automated test execution for Acceptance Test-Driven Development workflows?

Yes, automated test execution supports ATDD workflows by running standard test cycles after code changes, capturing results, and reporting coverage to validate software implementations.