← スキル一覧に戻る

ha-test-harness
by plebann
⭐ 2🍴 0📅 2026年1月12日
SKILL.md
name: ha-test-harness description: Testing patterns for Home Assistant custom components—coordinator and entity unit tests, register map coverage, write-path tests, and unique_id/device stability checks. license: Complete terms in LICENSE.txt
HA Test Harness
Use when adding tests for a custom integration.
Quick start
- Unit test the coordinator (success, cached fallback, error paths, option changes).
- Validate register maps and expected entities (keys, tiers, categories).
- Test entity properties (state_class/device_class/units) and translation_key wiring.
- Write-path tests: encoding, device_id usage, no immediate refresh contention.
References
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です