Skip to main content
在 Manus 中运行任何 Skill
一键导入

raise-coverage

星标0
分支0
更新时间2026年6月5日 15:47

Raises JVM test coverage for a Gradle module or source path. Outside read-only `--triage`, first ensures the repo is on Kover — auto-migrating from vanilla JaCoCo, or installing Kover when absent (routine cases run without asking; manual-review surfaces are flagged). Then localizes uncovered lines and branches from Kover's JaCoCo-format XML report and generates policy-compliant unit tests: stubs not mocks, written in Kotlin with Kotest assertions even when the code under test is Java, class names suffixed `Spec`. Proposes a test-case list and waits for approval before writing any test (pass `--yes` to skip), then re-runs the report to confirm the gap closed. Use when asked to add missing tests, close coverage gaps, or raise a module's coverage.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly