test

Run Go unit tests and frontend Vitest suites via Make targets.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/RafayelGardishyan/rafayels-marketplace --skill test-rafayelgardishyan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/RafayelGardishyan/rafayels-marketplace/tree/main/plugins/rafayels-engineering/.opencode/skills/test
Command: npx skills add https://github.com/RafayelGardishyan/rafayels-marketplace --skill test-rafayelgardishyan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running all tests across Go and frontend projects to ensure code correctness after changes or before PRs.

Core Features & Use Cases

  • Go tests: run all packages with -race and -count=1 across the repository, excluding example/.
  • Frontend tests: run Vitest for frontend/ and modules/chat/frontend/ to validate UI components and logic.
  • Use Case: After implementing a feature or fixing a bug, run the full test suite to catch regressions before submitting a PR.

Quick Start

Run the complete test suite to verify the current codebase state.

Frequently Asked Questions about test

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

FAQPage Schema
How do I run Go unit tests and frontend tests together before a PR?

Run Go unit tests with -race and -count=1 flags alongside Vitest frontend tests using the test-all Make target. This suite verifies correctness across both backend and frontend components before submitting a PR.

What Make targets are required to run Go and frontend tests?

The required Make targets to run tests are test-all, test, test-frontend, and test-e2e. These targets execute Go unit tests and Vitest frontend tests to validate UI components and backend logic.

Does this test suite run Vitest for frontend components?

Yes, the test suite runs Vitest for the frontend/ and modules/chat/frontend/ directories. This validates UI components and logic to catch any regressions in the frontend codebase after changes.

Can I run tests excluding the example directory in Go?

Yes, the Go test execution runs all packages with -race and -count=1 flags across the repository while explicitly excluding the example/ directory. This ensures only relevant project code is validated.

Why do I need build prerequisites to run the test suite?

Build prerequisites are required to execute the Make targets reliably. Without the necessary build environment, the Go unit tests and frontend Vitest commands cannot compile or run successfully to verify code quality.

When should I run the full test suite during feature development?

Run the full test suite after implementing a feature or fixing a bug to catch regressions. It applies during feature development and bug fixes to ensure code quality across Go and frontend components before PRs.