Skip to content

[unit-tests] ユニットテスト補完: DestroyCmd/TransformCmd/AttackCmd/SupplyCmd/ExchangeItemCmd/FixCmd/RemoveItemCmd/MapAttackCmd/MapAbility [Content truncated due to length]#860

Merged
7474 merged 1 commit intomasterfrom
unit-tests/unit-combat-cmds-128aafcb6e949183
Mar 13, 2026

Conversation

@github-actions
Copy link
Contributor

🧪 ユニットテスト補完 レポート (2026-03-13)

追加したテスト / Tests Added

  • DestroyCmd: 2件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (3個以上)、存在しないユニット指定
  • TransformCmd: 3件追加 (UnitCombatCmdTests.cs)
    • 引数なし (エラー)、引数過多、存在しないユニット指定
  • AttackCmd: 2件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (5個未満)、不正オプション (通常戦闘 以外)
  • SupplyCmd: 2件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (3個以上)、存在しないユニット指定
  • ExchangeItemCmd: 1件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (4個以上)
  • FixCmd: 2件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (3個以上)、存在しないパイロット/アイテム名
  • RemoveItemCmd: 1件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (4個以上)
  • MapAttackCmd: 2件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (4個未満)、引数過多 (7個以上)
  • MapAbilityCmd: 2件追加 (UnitCombatCmdTests.cs)
    • 引数数エラー (4個未満)、引数過多 (6個以上)

合計: 17件追加

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

  • テスト済み (既存): 多数のコマンドが既にカバー済み
  • 新規テスト追加: 9 コマンド
  • 未テスト (残り): DestroyCmd/TransformCmd/AttackCmd/SupplyCmd などの正常動作テスト (ユニット実体が必要なため今回は除外)

齟齬の報告 / Discrepancies Found

  • なし / None

テスト結果 / Test Results

Passed: 7152, Skipped: 0, Failed: 0 (ベースライン: 7135 → +17)

次のステップ: ユニット実体を必要とするコマンドの正常動作テスト(DestroyCmd 出撃時の破壊処理など)を次回実行でカバー

Generated by ユニットテスト補完エージェント / Unit Test Completion Agent ·

Warning

⚠️ Firewall blocked 9 domains

The following domains were blocked by the firewall during workflow execution:

  • crl3.digicert.com
  • crl4.digicert.com
  • dc.services.visualstudio.com
  • ocsp.digicert.com
  • s.symcb.com
  • s.symcd.com
  • tscrl.ws.symantec.com
  • tsocsp.ws.symantec.com
  • www.microsoft.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "crl3.digicert.com"
    - "crl4.digicert.com"
    - "dc.services.visualstudio.com"
    - "ocsp.digicert.com"
    - "s.symcb.com"
    - "s.symcd.com"
    - "tscrl.ws.symantec.com"
    - "tsocsp.ws.symantec.com"
    - "www.microsoft.com"

See Network Configuration for more information.

…d/ExchangeItemCmd/FixCmd/RemoveItemCmd/MapAttackCmd/MapAbilityCmd

追加したテスト (17件):
- DestroyCmd: 引数数エラー・存在しないユニット (2件)
- TransformCmd: 引数数エラー・引数過多エラー・存在しないユニット (3件)
- AttackCmd: 引数数エラー・不正オプションエラー (2件)
- SupplyCmd: 引数数エラー・存在しないユニット (2件)
- ExchangeItemCmd: 引数数エラー (1件)
- FixCmd: 引数数エラー・存在しないパイロット (2件)
- RemoveItemCmd: 引数数エラー (1件)
- MapAttackCmd: 引数数エラー・引数過多エラー (2件)
- MapAbilityCmd: 引数数エラー・引数過多エラー (2件)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@7474 7474 merged commit fb0ea7f into master Mar 13, 2026
1 check passed
@7474 7474 deleted the unit-tests/unit-combat-cmds-128aafcb6e949183 branch March 13, 2026 18:02
@7474 7474 temporarily deployed to SRC#DataViewer dev March 13, 2026 18:02 — with GitHub Actions Inactive
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