api-mocking
E2EテストおよびユニットテストにおけるAPIモック技術スキル。外部API依存を排除し、テストの安定性・速度・信頼性を向上させるための手法とベストプラクティスを提供します。📖 参考資料:• 『RESTful Web APIs』(Leonard Richardson)/ 適用: APIレスポンスのモック化 / 目的: 外部API依存を排除し、テストの安定性と速度を向上させる• 『Mock Service Worker』(Artem Zakharchenko)/ 適用: ネットワークリクエストのインターセプト / 目的: 複雑なAPI統合シナリオでのテスト精度向上• 『Testing JavaScript』(Kent C. Dodds)/ 適用: エラーケース(4xx、5xx)のテスト / 目的: エラーハンドリングの包括的な検証外部APIへのテスト依存を排除したい時、エラーケースをテストしたい時、ネットワーク遅延をシミュレートしたい時、MSWによるHTTPインターセプトを実装したい時に使用します。
$ Instalar
git clone https://github.com/daishiman/AIWorkflowOrchestrator /tmp/AIWorkflowOrchestrator && cp -r /tmp/AIWorkflowOrchestrator/.claude/skills/api-mocking ~/.claude/skills/AIWorkflowOrchestrator// tip: Run this command in your terminal to install the skill
Repository

daishiman
Author
daishiman/AIWorkflowOrchestrator/.claude/skills/api-mocking
2
Stars
0
Forks
Updated2w ago
Added2w ago