Run Tests

Run Jest and Vitest tests for backend and frontend in one workflow.

1|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/daithang59/ToDoList-WebApp --skill run-tests-daithang59
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Run Tests
Source: https://github.com/daithang59/ToDoList-WebApp/tree/main/.agent/skills/run-tests
Command: npx skills add https://github.com/daithang59/ToDoList-WebApp --skill run-tests-daithang59

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a unified, repeatable process for running and validating tests across the backend and frontend of the To-Do List WebApp, reducing debugging time and helping catch regressions early.

Core Features & Use Cases

  • Centralized commands for Jest (backend) and Vitest (frontend)
  • Watch mode, coverage, and per-package tests in monorepos
  • Guidance for CI integration and reporting

Quick Start

Run npm test from the project root to execute the full backend and frontend test suites.

Frequently Asked Questions about Run Tests

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

FAQPage Schema
How do I run Jest and Vitest tests together in a monorepo?

Run centralized test commands from the project root to execute Jest for backend and Vitest for frontend. This unified workflow supports per-package test execution in monorepos, ensuring consistent validation across both environments.

Can I enable watch mode and coverage reporting for frontend and backend tests?

Yes, watch mode and coverage reporting are supported for both frontend and backend tests. You can execute targeted commands to monitor changes and generate coverage metrics during local development.

Does this testing workflow support CI integration and reliable reporting?

Yes, the workflow enforces consistent test commands and environment setup to provide reliable reporting for CI integration. It standardizes the execution process to help catch regressions early in the pipeline.

What is the best way to automate running tests across a full-stack web application?

Automate full-stack test validation by running npm test from the project root. This triggers a single workflow that targets Jest for backend and Vitest for frontend, reducing debugging time with repeatable processes.

How do I execute tests for a specific package in a monorepo?

You can execute per-package tests in monorepos by targeting specific packages with the centralized commands. This allows isolated validation of individual frontend or backend packages without running the entire suite.