360 Secure SkillHub
360 安全技能中心

game-regression-testing

该 Skill 指导为游戏修复建立可复现的回归测试:确认引擎、场景和基线/候选构建,定义单一可观察断言,记录输入序列与起始条件,对两个构建运行同一测试,并输出测试命令、构建标识、前后观测值、结论与产物。它强调实测不一致后一致才算验证,截图只作辅助证据。

分类:开发
ankitpandit120
ankitpandit120
热度 18.63
最近更新 2026-12-02 20:13:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ankitpandit120/game-regression-testing
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据不出本机
Metadata
name
game-regression-testing
description
Reproduce and verify gameplay bugs with repeatable inputs, before-and-after assertions, and pull request evidence. Use when testing a game fix, replaying a Phaser or other browser game regression, or checking an existing Godot, Unity, or Unreal gameplay test harness.

Game Regression Testing

Produce evidence that the same gameplay assertion fails before the fix and passes after it. Use the project's existing test harness where possible.

  1. Identify the game engine, affected scene, and baseline and candidate builds. Confirm the build identities from the app or the exact source checkout. Label supplied and observed identifiers separately.
  2. Define one observable assertion before editing. For example, after two jump presses in the same airborne interval, exactly one jump was accepted. Prefer game state exposed by a supported debug or test interface over a pixel-only assertion.
  3. Write the input sequence, starting state, and conditions for measurement. Use simulation steps, a seed, or an engine checkpoint if the project exposes one. Restart the scene or session between runs. If equivalent timing or state cannot be established, report that limitation.
  4. Run the same test against both builds. Report the specific assertion and observed values, plus the rerun command and optional captures. Keep engine startup, input, and observation errors separate from an actual measured mismatch.

A measured mismatch followed by a match verifies the regression. Two equal outcomes or a reverse change do not verify it. A crashed engine, unavailable build, or missing measurement is unverified. Treat screenshots as supporting evidence and do not infer pass or fail from a screenshot alone.

Read browser gameplay checks when testing Phaser or another browser game. For a native engine such as Godot, Unity, or Unreal, use the installed engine and the project's tests. Record the engine version and do not claim runtime coverage when only source review was possible.

Return the exact test command, build identifiers, observed before and after values, verdict, and artifacts. For a PR, copy the evidence summary and link the runnable test.