test

Run backend pytest suites and Vite frontend builds to detect regressions.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/amotion-ai/botassist --skill test-amotion-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/amotion-ai/botassist/tree/main/.claude/skills/test
Command: npx skills add https://github.com/amotion-ai/botassist --skill test-amotion-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a consistent, read-only way to validate that code changes in BotAssist do not break the backend test suite or frontend build while surfacing coverage gaps that require attention.

Core Features & Use Cases

  • Backend Test Execution: Run the pytest suite in backend/tests, parse results into totals, passes, failures, errors, and extract individual failure details.
  • Frontend Build Check: Execute the Vite build for the frontend and report build success, errors, and warnings without modifying source files.
  • Coverage Gap Analysis: Inventory test files, map tests to modules, cross-reference changed files to identify recently modified code lacking tests, and produce prioritized next actions.
  • Use Case: Use this Skill before opening a PR to ensure tests pass, the frontend builds, and any test coverage gaps in changed files are clearly reported.

Quick Start

Run the test runner to execute backend pytest, perform the frontend build, analyze coverage gaps, and produce a concise next-action suggestion.

Frequently Asked Questions about test

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

FAQPage Schema
How do I run pytest and Vite frontend builds to verify code changes before a PR?

To verify code changes, run pytest for backend tests and execute the Vite build to check frontend status. This process parses test outputs and git diffs to detect regressions and surface build failures.

What is test coverage gap analysis and how does it map tests to modules?

Test coverage gap analysis inventories test files and maps them to source modules. By cross-referencing git diffs, it identifies recently modified code lacking tests and generates prioritized next actions.

Do I need Node.js and a Python environment to run backend pytest and frontend build checks?

Yes, you need a Python environment with pytest installed and Node.js with npm for Vite frontend builds. The validation process requires read-only access to repository files to parse outputs.

Can I execute Vite builds and pytest without modifying source files?

Yes, you can execute Vite builds and pytest without modifying source files. The validation operates with read-only access to repository files to report build success, errors, and test failures.

Why does my CI check fail to parse pytest totals and frontend build warnings?

CI checks fail to parse pytest totals and Vite build warnings if the environment lacks proper Python or Node.js setup. Accurate parsing requires executing tests and builds to capture standard output streams.