engram-testing-coverage

>

gentleman-programming/engram91 installsApache-2.0Synced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: engram-testing-coverage
description: >
license: Apache-2.0
---

## When to Use

Use this skill when:
- Adding new behavior
- Fixing a bug
- Refactoring logic with branch complexity

---

## TDD Loop

1. Write a failing test for the target behavior.
2. Implement the smallest code to pass.
3. Refactor while keeping tests green.
4. Add edge/error-path tests before closing.

---

## Coverage Rules

- Cover happy path + error paths + edge cases.
- Prefer deterministic tests over flaky integration paths.
- Add seams only when branches are impossible to trigger naturally.
- Keep runtime behavior unchanged when adding seams.

---

## Validation Commands

Run:

```bash
go test ./...
go test -cover ./...
```

Report package coverage and total coverage in the PR.

More Testing skills

← All Testing skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY