Agent Skills: Run Tests Skill

Run unit and integration tests for Catalyst-Relay. Use when asked to test, run tests, verify changes, or check if code works.

UncategorizedID: aiskillstore/marketplace/run-tests

Install this agent skill to your local

pnpm dlx add-skill https://github.com/aiskillstore/marketplace/tree/HEAD/skills/clouder0/run-tests

Skill Files

Browse the full folder contents for run-tests.

Download Skill

Loading file tree…

skills/clouder0/run-tests/SKILL.md

Skill Metadata

Name
run-tests
Description
How to run tests in this project. Load when implementing or verifying code.

Run Tests Skill

Project-specific test execution.

Test Commands

# Run all tests
# TODO: Add your test command
npm test
# pytest
# go test ./...
# cargo test

# Run specific file
# TODO: Add your pattern
npm test -- --testPathPattern={file}
# pytest {file} -v

# Run affected tests
npm test -- --changedSince=HEAD

Test Patterns

  • Test files: **/*.test.ts or **/__tests__/*.ts
  • Test naming: describe('Component', () => { it('should...') })

Coverage

# Run with coverage
npm test -- --coverage

Debugging Failed Tests

  1. Read the error message
  2. Check the test file
  3. Check the source file
  4. Run single test in isolation