automation-coverage
Installation
SKILL.md
AUTOMATION-COVERAGE SKILL: What I do
This skill analyzes automated e2e tests and the project source code, then produces coverage.e2e.yml — a mapping from source files (or globs) to test identifiers (suite IDs, test IDs, tags) embedded in the test code. The mapping is consumed by @testomatio/reporter run "<runner>" --filter "coverage:file=coverage.e2e.yml,diff=<branch>" to run only the e2e tests affected by the diff.
When to Use
Trigger this skill when the user wants to:
- Map automated e2e tests to the source code they exercise.
- Generate
coverage.e2e.yml(or a similarly named file) for use with@testomatio/reporter. - Run only the e2e tests affected by a change instead of the full suite.
- Build a code → e2e-test traceability matrix.
- Speed up CI by limiting the e2e run to tests affected by the PR diff.
- Phrases: "e2e coverage", "automated test coverage", "map tests to code", "affected e2e tests", "selective e2e run", "generate coverage.e2e.yml".
CRITICAL CONSTRAINTS
This skill works only with automated e2e tests (Playwright, Cypress, WebdriverIO, Puppeteer, CodeceptJS, Appium, etc.).