vhm24-testing

Automate unit, integration, and end-to-end tests for React components and tRPC APIs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/jamsmac/VHM24 --skill vhm24-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vhm24-testing
Source: https://github.com/jamsmac/VHM24/tree/main/skills/vhm24-testing
Command: npx skills add https://github.com/jamsmac/VHM24 --skill vhm24-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

VendHub OS testing automation; ensure reliable UI and API behavior through unit, integration, and end-to-end tests across React components and tRPC APIs.

Core Features & Use Cases

  • Unit testing of React components with React Testing Library
  • API and tRPC procedure tests to verify business logic
  • Integration tests and End-to-End tests using Playwright
  • Mock data, fixtures, and test scaffolding for TDD and regression testing
  • Use Case: ensure a new feature passes across UI, API, and flows before release

Quick Start

Install dependencies and run tests:

  • npm install
  • npm run test:unit
  • npm run test:api
  • npx playwright test

Frequently Asked Questions about vhm24-testing

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

FAQPage Schema
How do I test tRPC procedures and React components together?

You can test tRPC procedures and React components together by running API tests to verify business logic and unit testing React components with React Testing Library to ensure reliable UI and API behavior.

What's the best way to automate end-to-end tests for React and tRPC applications?

Automating end-to-end tests for React and tRPC applications is best handled using Playwright to execute deterministic E2E scenarios across complex workflows, ensuring new features pass before release.

Can I use Vitest and MSW for tRPC API mocking in integration tests?

Yes, tRPC API mocking in integration tests uses Vitest and MSW to provide mock data and fixtures, enabling deterministic test scaffolding for TDD and regression testing across your workflows.

Do I need Playwright to run end-to-end tests for React components?

Yes, Playwright is required to run end-to-end tests for React components, executing deterministic E2E scenarios that validate complex user flows and UI behavior before release.

Why does my tRPC procedure test fail during integration testing?

Your tRPC procedure test might fail during integration testing if mock data and fixtures are misconfigured, which disrupts deterministic test execution and prevents accurate verification of API business logic.

Does this testing approach support TDD and regression testing for complex workflows?

Yes, this testing approach supports TDD and regression testing by providing test scaffolding, mock data, and fixtures to execute deterministic unit, integration, and E2E tests across complex workflows.