Testing Strategy banner
jarrodwatts jarrodwatts

Testing Strategy

Testing community intermediate

Description

This project is small, runs in a terminal, and is mostly deterministic. The testing strategy focuses on fast, reliable checks that validate core behavior and provide a safe merge gate for PRs.

Installation

Terminal
claude install-skill https://github.com/jarrodwatts/claude-hud

README

Testing Strategy

This project is small, runs in a terminal, and is mostly deterministic. The testing strategy focuses on fast, reliable checks that validate core behavior and provide a safe merge gate for PRs.

Goals

    undefined

Test Layers

    undefined
    undefined
    undefined
    undefined
    undefined
    undefined

What to Test First

    undefined

Fixtures

    undefined

Running Tests Locally

npm test

This runs `npm run build` and then executes Node's built-in test runner.

To generate coverage:

npm run test:coverage

To update snapshots:

npm run test:update-snapshots

CI Gate (recommended)

    undefined

The provided GitHub Actions workflow runs `npm run test:coverage` on Node 18 and 20.

These steps should be required in PR checks to ensure new changes do not regress existing behavior.

Contributing Expectations

    undefined