Test Runner

Run and manage Vitest tests for the Babylon.js project.

1|Updated Oct 8, 2025
One-click install
npx skills add https://github.com/gigi-f/babylon_fp --skill test-runner-gigi-f
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test Runner
Source: https://github.com/gigi-f/babylon_fp/tree/main/.claude/skills/test-runner
Command: npx skills add https://github.com/gigi-f/babylon_fp --skill test-runner-gigi-f

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running and validating tests for a Babylon.js project can be error-prone and time-consuming without a streamlined workflow.

Core Features & Use Cases

  • Run all Vitest tests across the repository to ensure code quality.
  • Run targeted tests by file or directory to quickly diagnose failures.
  • Generate and review test coverage to identify gaps and improve quality.

Quick Start

Install dependencies and run the test suite from the repository root.

Frequently Asked Questions about Test Runner

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

FAQPage Schema
How do I run Vitest tests for a Babylon.js project from the repository root?

To run Vitest tests for a Babylon.js project, execute the provided npm scripts or Vitest CLI commands directly from the repository root. This ensures deterministic results and clear reports during code changes validation.

Can I run targeted Vitest tests by file or directory to diagnose failures faster?

Yes, you can run targeted Vitest tests by specifying a file or directory path. This allows you to quickly diagnose failures and debug faster by isolating the test suite to specific areas of the Babylon.js codebase.

Does this workflow support generating test coverage reports with Vitest?

Yes, the workflow supports generating test coverage by utilizing the Vitest CLI `--coverage` option. This helps identify gaps in the Babylon.js codebase and improves overall code quality assessment.

What is the best way to validate code changes across the Babylon.js codebase using Vitest?

The best way to validate code changes is by running the full Vitest test suite across the repository. This approach produces deterministic results and clear reports, ensuring code quality during failure diagnosis.

Can I use Vitest watch mode to monitor tests during development?

Yes, you can use Vitest watch mode to monitor tests during development. The Skill supports standard Vitest CLI options including run, watch, and coverage to streamline debugging and code changes validation.

Do I need any specific dependencies installed to run the Babylon.js Vitest test suite?

You need to install the project dependencies before running the test suite from the repository root. Once dependencies are installed, you can apply npm scripts and Vitest CLI options to produce deterministic results.