Testing.reach coverage

From gpsaggese/helpers · View interactive version

Testing.reach coverage is an AI agent skill from the GitHub repository gpsaggese/helpers. Increase unit test coverage toward 100 percent for a function or file

How to use this skill

Skill file

Goal

the test files <TEST_FILES> toward 100 percent, using a plan-then-implement

approach

Workflow

Establish Current Coverage

```text

helpers/hllm_cli.py -> helpers/test/test_hllm_cli.py

```

```text

Target files: <FILES>

Test files: <TEST_FILES>

```

```bash

# Using invoke (preferred):

> i run_coverage --suite fast --generate-html-report

# Or directly with pytest inside Docker:

> pytest --cov=<PKG> --cov-report=term-missing --cov-report=html <TEST_FILE>

```

Design a Testing Plan

implementation details

are critical to correctness

Specify Tests Without Implementation

Implement After Approval

100 percent

Important Rules

clarification before proceeding

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.