Gate Diff Only Test Coverage On Changed Lines Before Merging With Diff Cover

Compare coverage reports against a git diff so an agent can flag newly changed lines that still lack tests before merge.

agentskillexchange Updated 28 repo stars

File contents

Gate Diff Only Test Coverage On Changed Lines Before Merging With Diff Cover

Compare coverage reports against a git diff so an agent can flag newly changed lines that still lack tests before merge.

Prerequisites

Git, supported XML or LCov coverage report, Python 3, pip

Installation

Use the upstream install or setup path that matches your environment:

Requirements and caveats from upstream:

  • Currently, diff-cover requires that:
  • coverage.py__ (Python)
  • poetry manages a python virtual environment and organizes dependencies. It also

Basic usage or getting-started notes:


Documentation

Source

agentskillexchange/skills/tree/main/skills/gate-diff-only-test-coverage-on-changed-lines-before-merging-with-diff-cover commit eb25c4efb2

Frequently asked questions

npx skillmds@latest add agentskillexchange/gate-diff-only-test-coverage-on-changed-lines-before-merging