Files
cline--cline/sdk/examples/cron/test-coverage-report.cron.md
2026-07-13 12:52:40 +08:00

1.1 KiB

id, title, workspaceRoot, schedule, tools, mode, enabled, modelSelection, timeoutSeconds, maxIterations, tags, metadata
id title workspaceRoot schedule tools mode enabled modelSelection timeoutSeconds maxIterations tags metadata
test-coverage-report Generate Test Coverage Report /absolute/path/to/repo 0 22 * * * run_commands,read_files act false
providerId modelId
cline anthropic/claude-opus-4.7
2400 25
automation
testing
quality
owner reportFormat
qa markdown

Run test suite and generate a coverage report:

  1. Run the full test suite: npm test or equivalent
  2. Generate coverage report in JSON format: npm run test:coverage
  3. Parse the coverage data to identify:
    • Overall coverage percentage (lines, branches, functions, statements)
    • Files with coverage below 80%
    • Files with coverage below 50% (critical)
    • Coverage trends (if previous reports exist)

Create a markdown summary showing:

  • Overall coverage metrics with visual progress bars
  • Top 5 files needing coverage improvements
  • Test results: total tests, passed, failed, skipped
  • Recommendations for improving test coverage

Include emoji indicators for health status:

  • 🟢 Excellent (>90%)
  • 🟡 Good (70-90%)
  • 🔴 Needs attention (<70%)