run-tests

Run Vitest OCR integration tests and report failures with file:line details.

Updated Dec 8, 2025
One-click install
npx skills add https://github.com/Unlighted01/ResearchMate-Website --skill run-tests-unlighted01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/Unlighted01/ResearchMate-Website/tree/main/.claude/skills/testing/run-tests
Command: npx skills add https://github.com/Unlighted01/ResearchMate-Website --skill run-tests-unlighted01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates execution and reporting of the ResearchMate OCR integration test suite using Vitest to ensure end-to-end reliability of the OCR pipeline.

Core Features & Use Cases

  • Deterministic test execution: Run the full OCR integration suite in a consistent environment.
  • Selective validation: Optionally filter tests by name to focus on specific scenarios.
  • Report and triage: Output pass/fail counts with file:line details and a summary pass rate for quick debugging.

Quick Start

Run the OCR integration tests with Vitest and observe the results for immediate feedback.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I run OCR integration tests with Vitest?

Vitest executes the ResearchMate OCR integration suite deterministically, providing pass/fail counts and file:line details for failures to ensure end-to-end OCR pipeline reliability.

Can I filter specific Vitest test cases by name during execution?

You can optionally filter tests by name to focus on specific OCR scenarios, allowing selective validation within the api/ocr.integration.test.ts suite without running all cases.

What prerequisites are needed to automate OCR test execution?

Prerequisites include having Vitest installed in your project and the test file path api/ocr.integration.test.ts available, ensuring the test runner can locate and execute the OCR suite.

How does the test runner report failures for debugging?

It reports failures with specific file:line details and outputs a summary pass rate, enabling quick triage and debugging of the OCR integration test suite without manually parsing logs.

Why are my OCR integration tests failing in the pipeline?

Running the OCR integration suite with Vitest ensures deterministic test execution in a consistent environment, isolating pipeline inconsistencies and reporting exact file:line failure details for debugging.