unit-test

Execute backend and frontend unit tests with Vitest and generate detailed reports.

1|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/kasiopeiya/oidc-learning-sandbox --skill unit-test-kasiopeiya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unit-test
Source: https://github.com/kasiopeiya/oidc-learning-sandbox/tree/main/.claude/skills/unit-test
Command: npx skills add https://github.com/kasiopeiya/oidc-learning-sandbox --skill unit-test-kasiopeiya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backend and frontend codebases often drift from expected behavior as code changes; this skill runs unit tests to validate correctness and surface failures.

Core Features & Use Cases

  • Automated test execution: Run Vitest tests for backend and frontend.
  • Detailed result capture: Collect and summarize test outcomes for quick diagnosis.
  • Use Case: When a PR introduces changes, run this skill to ensure backend and frontend tests pass before merging.

Quick Start

Run the unit-test command to execute the integrated test runner and generate a detailed report.

Frequently Asked Questions about unit-test

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

FAQPage Schema
How do I run unit tests for both frontend and backend codebases?

You can execute unit tests for both frontend and backend directories using Vitest, which coordinates test execution and captures detailed results for quick diagnosis of code changes.

What's the best way to validate code changes before merging a pull request?

Running unit tests before merging validates correctness and surfaces failures, ensuring that backend and frontend components maintain expected behavior as code changes are introduced.

Can I integrate Vitest test execution into my CI pipeline?

Yes, Vitest execution is targeted for CI pipelines to automatically validate changes across backend and frontend components, capturing results and delivering actionable test insights.

How does automated test reporting help diagnose backend and frontend failures?

Automated test reporting collects and summarizes test outcomes from Vitest execution, providing detailed result capture that allows developers to quickly diagnose failures across backend and frontend components.

Do I need additional dependencies to generate detailed test reports?

No additional dependencies are required; the integrated unit-test-runner coordinates Vitest execution, result capture, and detailed reporting to deliver actionable test insights directly.

When do I need to run end-to-end unit tests for my application?

You need to run end-to-end unit tests during local development or within CI pipelines when code changes are introduced, ensuring backend and frontend codebases do not drift from expected behavior.