cline--cline
1.3 KiB
1.3 KiB
id, title, workspaceRoot, event, filters, debounceSeconds, cooldownSeconds, maxParallel, modelSelection, tags, metadata
| id | title | workspaceRoot | event | filters | debounceSeconds | cooldownSeconds | maxParallel | modelSelection | tags | metadata | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| pr-test-coverage | Analyze Test Coverage Impact of PR | /absolute/path/to/repo | github.pull_request.synchronize |
|
30 | 120 | 2 |
|
|
|
Analyze test coverage impact when a PR is updated:
-
Checkout the PR branch
-
Run test coverage:
npm run test:coverage -
Compare coverage to main branch:
- Lines added with coverage
- Lines added without coverage
- Files with decreased coverage
- New files with low coverage
-
Generate a coverage impact report showing:
- Coverage change percentage
- Files with added uncovered code
- Critical gaps in new functionality
- Suggestions for missing tests
-
Post results as PR comment with:
- Overall coverage impact (↑ or ↓)
- File-by-file breakdown
- Specific line ranges needing tests
- Recommendations for test additions
Color code the feedback:
- 🟢 Coverage improved
- 🟡 Coverage maintained
- 🔴 Coverage decreased
- ⚫ New code without tests
Help maintain test quality standards without blocking the PR.