[unit-tests] カバレッジ補強 フェーズ2: Command.process.cs テスト追加 - #1072
Open
github-actions[bot] wants to merge 1 commit into
Open
[unit-tests] カバレッジ補強 フェーズ2: Command.process.cs テスト追加#1072github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
- ViewMode=true 時の ProceedCommand の動作 (by_cancel=true/false) - ProceedInput: "マップコマンド" 状態での左/右クリック → "ユニット選択" への遷移 - ProceedInput: "コマンド選択" 状態での左/右クリック → CancelCommand 呼び出し - ProceedInput: ターゲット選択状態で cell=null の場合は処理スキップ - ProceedInput: GuiButton.None は何もしない Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧪 カバレッジ補強レポート (2026-07-12)
現在のフェーズ / Current Phase
Command.process.csのProceedInput/ProceedCommandテスト追加追加したテスト / Tests Added
CommandProcessTests.cs: 13件追加テスト内容
ProceedCommand — ViewMode:
ViewMode=true, by_cancel=true→ViewModeがfalseになるViewMode=true, by_cancel=false→ViewModeは変わらない(アーリーリターン)ViewMode=true, by_cancel=true→CommandStateは変化しないViewMode=false, by_cancel=true→ViewModeはfalseのままProceedInput — "マップコマンド" 状態:
CommandStateが"ユニット選択"に変化CommandStateが"ユニット選択"に変化ProceedInput — "コマンド選択" 状態:
CancelCommand()呼び出し →"ユニット選択"へ /SelectedCommandクリアCancelCommand()呼び出し →"ユニット選択"へProceedInput — ターゲット選択・その他:
"ターゲット選択"+ cell=null → 処理スキップ(CommandState 変化なし)"移動後ターゲット選択"+ cell=null → 処理スキップ"ユニット選択"+ 左クリック + unit=null → ProceedCommand は呼ばれないGuiButton.None→ 何もしない合計: 13件追加
カバレッジサマリー / Coverage Summary
Command.attack.csは private のみのため別途検討)齟齬の報告 / Discrepancies Found
なし / None
テスト結果 / Test Results
Passed: 7502, Skipped: 0, Failed: 1 (LoadTest — 既存の pre-existing failure)
新規追加 13件: 全パス ✅
次のステップ:
Command.attack.csの private メソッドへのアクセス手法を検討、または他の未カバー領域の調査Warning
Firewall blocked 9 domains
The following domains were blocked by the firewall during workflow execution:
crl3.digicert.comcrl4.digicert.comdc.services.visualstudio.comocsp.digicert.coms.symcb.coms.symcd.comtscrl.ws.symantec.comtsocsp.ws.symantec.comwww.microsoft.comSee Network Configuration for more information.