Skip to content

[unit-tests] カバレッジ補強 フェーズ2: Commands/ 拡充 (54テスト追加)#930

Open
github-actions[bot] wants to merge 2 commits intomasterfrom
unit-tests/phase2-commands-20260412-ce22a6f1a3aa7216
Open

[unit-tests] カバレッジ補強 フェーズ2: Commands/ 拡充 (54テスト追加)#930
github-actions[bot] wants to merge 2 commits intomasterfrom
unit-tests/phase2-commands-20260412-ce22a6f1a3aa7216

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

🧪 カバレッジ補強レポート (2026-04-12)

現在のフェーズ / Current Phase

  • フェーズ2: Commands/ 拡充

追加したテスト / Tests Added

  • CommandLaunchTests.cs: 5件 — Command.launch.cs (発進・帰投ロジック)
  • CommandUnitMoveTests.cs: 8件 — Command.unitmove.cs (ユニット移動)
  • CommandUnitXxxTests.cs: 7件 — Command.unitxxx.cs (ユニットその他コマンド)
  • CommandUnitSupplyTests.cs: 7件 — Command.unitsupply.cs (補給)
  • CommandUnitSpTests.cs: 5件 — Command.unitsp.cs (スペシャルパワー)
  • CommandUnitAbilityTests.cs: 7件 — Command.unitability.cs (アビリティ)
  • CommandPreviewTests.cs: 10件 — Command.preview.cs (プレビュー)
  • CommandUnitFormTests.cs: 6件 — Command.unitform.cs (ユニットフォーム)

合計: 54件追加

カバレッジサマリー / Coverage Summary

  • フェーズ1 (CmdDatas/Commands): 完了
  • フェーズ2 (Commands/): 8ファイル追加 / 残り: Command.attack.cs, Command.process.cs — 次回以降
  • フェーズ3 (Intermissions/): 既にカバー済み

齟齬の報告 / Discrepancies Found

なし / None

テスト結果 / Test Results

Passed: 7444, Skipped: 0, Failed: 1 (pre-existing LocalFileConfigTests.LoadTest — 本 PR と無関係)

次のステップ: Command.attack.csCommand.process.cs のテストを追加
Next step: Add tests for Command.attack.cs and Command.process.cs (GUI-heavy, 1500+ lines each)

Generated by カバレッジ補強エージェント / Coverage Reinforcement Agent ·

Command.*.cs の未テスト8ファイルに対応するテストを追加。

追加したテストファイル:
- CommandLaunchTests.cs     (5件)  : Command.launch.cs
- CommandUnitMoveTests.cs   (8件)  : Command.unitmove.cs
- CommandUnitXxxTests.cs    (7件)  : Command.unitxxx.cs
- CommandUnitSupplyTests.cs (7件)  : Command.unitsupply.cs
- CommandUnitSpTests.cs     (5件)  : Command.unitsp.cs
- CommandUnitAbilityTests.cs(7件)  : Command.unitability.cs
- CommandPreviewTests.cs    (10件) : Command.preview.cs
- CommandUnitFormTests.cs   (6件)  : Command.unitform.cs

合計: 54テスト追加
全テスト: Passed 7444, Failed 1 (pre-existing LocalFileConfigTests.LoadTest)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@7474 7474 had a problem deploying to SRC#DataViewer dev April 12, 2026 21:45 — with GitHub Actions Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant