test

Run npm tests and report failing names with file paths.

114|29|Updated Nov 23, 2019
One-click install
npx skills add https://github.com/helderberto/dotfiles --skill test-helderberto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/helderberto/dotfiles/tree/main/claude/.claude/skills/test
Command: npx skills add https://github.com/helderberto/dotfiles --skill test-helderberto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates running test suites for Node/Frontend projects, delivering concise results and clear failure information.

Core Features & Use Cases

  • Run tests via npm test
  • Support watch mode (npm run test:watch) and CI (npm run test:ci) with coverage
  • Provide concise results and show failing test names and file paths

Quick Start

Run npm test to execute the test suite in your project. Use npm run test:watch for continuous monitoring, and npm run test:ci for CI with coverage.

Frequently Asked Questions about test

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

FAQPage Schema
How do I run tests with vitest in a Node project and get clear failure paths?

You can run tests using npm test to execute the suite and receive concise results showing failing test names and their exact file paths. This automates test execution for Node and frontend projects.

Can I use watch mode for continuous test monitoring during development?

Yes, watch mode is supported by running npm run test:watch. This enables continuous monitoring of your test suite, automatically re-running tests as you modify your Node or frontend project files.

How do I execute CI tests with coverage for my Node or frontend project?

You can execute CI tests with coverage by running npm run test:ci. This automates continuous integration test execution, providing concise results and clear failure information for your test suite.

What is the best way to automate unit and integration test reporting?

Automating unit and integration test reporting is best handled via npm test, which delivers concise results and clearly identifies failing test names alongside their file paths for quick debugging.

Does this test automation approach work without additional dependencies?

Yes, this test automation works without additional dependencies. It directly supports standard npm test scripts, including watch and CI modes, to run and report results for your existing Node and frontend projects.