·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