Skip to main content

testing

Guide test design when adding, changing, or reviewing tests, especially mock boundaries and test infrastructure. Not a requirement to audit existing tests or add a separate testing phase.

ソース情報

リポジトリ
ilude/dotfiles
ソースの最終更新活動
2026年9月7日 23:38
検出された SKILL.md の言語
英語
スター
4
フォーク
1

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
testing
description
Guide test design when adding, changing, or reviewing tests, especially mock boundaries and test infrastructure. Not a requirement to audit existing tests or add a separate testing phase.
# Testing - Prefer tests of observable behavior using existing test infrastructure. - Use mocks when real dependencies would be unsafe, nondeterministic, or impractical. Mocks are not inherently a problem. - Do not mock away the behavior under test. Assert internal call sequences only when those interactions are part of the required behavior. - Do not build abstractions or extensive fake infrastructure for speculative tests. - Choose tests for required behavior, demonstrated defects, and credible risks in the changed path. Do not expand coverage merely because another case can be imagined. - Passing mocked tests proves only what they exercise; do not present them as evidence that real integrations work.
GitHubで見る