·mutation-testing
</>

mutation-testing

roasbeef/claude-files

通过突变测试验证测试套件的质量。生成智能代码突变,运行测试以验证它们捕获更改,并识别测试覆盖范围中的差距。在评估测试有效性、验证新编写的测试或提高关键任务代码的测试质量时使用。

4安装·0热度·@roasbeef

安装

$npx skills add https://github.com/roasbeef/claude-files --skill mutation-testing

SKILL.md

Mutation testing evaluates test quality by introducing small, deliberate bugs (mutations) into code and checking if tests catch them. This provides a behavioral measure of test effectiveness beyond simple coverage metrics.

Why mutation testing matters: Tests can achieve 100% line coverage while missing critical bugs. Mutation testing reveals if tests actually verify behavior or just execute code.

This skill uses Go's go/ast and go/parser packages to generate intelligent mutations by analyzing code structure.

通过突变测试验证测试套件的质量。生成智能代码突变,运行测试以验证它们捕获更改,并识别测试覆盖范围中的差距。在评估测试有效性、验证新编写的测试或提高关键任务代码的测试质量时使用。 来源:roasbeef/claude-files。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/roasbeef/claude-files --skill mutation-testing
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 mutation-testing?

通过突变测试验证测试套件的质量。生成智能代码突变,运行测试以验证它们捕获更改,并识别测试覆盖范围中的差距。在评估测试有效性、验证新编写的测试或提高关键任务代码的测试质量时使用。 来源:roasbeef/claude-files。

如何安装 mutation-testing?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/roasbeef/claude-files --skill mutation-testing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/roasbeef/claude-files

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01