본문으로 건너뛰기
cccskills
무료GitHub에 공개

et-test-run

ET test execution and failure debugging workflow for WOW. Use when building before tests, cleaning Logs, running server or Hotfix tests through ET.App Test commands, running Unity Editor tests through UnityBridge UnityTestRunRequest, reading Logs/All.log, judging results, and diagnosing failed or unmatched tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes스타 931(GitHub 931 + cccskills 0)
연동 도구Unity

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.7 KB
  • SKILL.md.meta158 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

et-test-run - 测试执行入口

何时使用

  • 执行测试(全部 / 指定用例)。
  • 查看测试日志、分析失败原因。
  • 验证修改后的代码是否通过目标测试或回归测试。

不要加载

  • 只是编写测试用例:用 et-test-write。
  • 只是编译项目:用 et-build。

默认动作

  1. 先用 dotnet build ET.sln 编译,除非用户明确只要看日志或已经完成编译。
  2. 运行测试前清理 Logs/,避免旧日志干扰。
  3. 服务端 / Hotfix 测试使用 WOW 现有测试入口:管道输入 Test 命令到 dotnet ./Bin/ET.App.dll --SceneName=Test。
  4. Unity Editor 测试使用 UnityBridge 的 UnityTestRunRequest,按 Name 正则匹配测试类名执行。
  5. Editor 测试不走 Unity Test Framework 的 Filter、ExecutionSettings 或 Test Runner。
  6. 失败时先看控制台首个失败点;服务端测试再看 Logs/All.log,Editor 测试看 response 里的 Message 与 Results[].Message。
  7. 服务端测试成功后也检查 Logs/All.log,确认没有隐藏异常或错误日志。
  8. 调试失败遵循先定位原因、再改代码;不要为了跑通测试随意修改正常业务逻辑。

常用命令

dotnet build ET.sln
Remove-Item ./Logs -Recurse -Force -ErrorAction SilentlyContinue
"Test" | dotnet ./Bin/ET.App.dll --SceneName=Test
"Test --Name=CreateRobot" | dotnet ./Bin/ET.App.dll --SceneName=Test
dotnet ./Bin/ET.UnityBridge.dll '{"_t":"Ping"}'
dotnet ./Bin/ET.UnityBridge.dll '{"_t":"UnityTestRunRequest","Name":".*"}'
Get-Content ./Logs/All.log -Tail 200

常见失败原因

现象优先检查
Entity 已失效await 后是否通过 EntityRef 重新获取
数据不一致测试准备与配置链路
消息超时网络消息发送、事件是否真的发布
Fiber 未找到场景或 Fiber 名称
未找到测试类名、PackageType 前缀、测试目录
Editor 测试未匹配Name 正则、类是否继承 ET.Test.ATestHandler、是否在 Scripts/Editor/Test/
找不到 UnityTestRunRequestUnity Editor 是否打开、UnityBridge 是否在线、是否执行过 Refresh
配置不存在测试是否自己用代码构造最小 Config 数据

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

aibridge

무료

Unity Editor and Player Runtime CLI integration for AIBridge. Use when Codex needs to compile Unity, inspect Console logs, search/read assets, manipulate GameObjects, Transforms, components, SerializedProperty values, scenes, screenshots/GIFs, connect to built Player runtime targets, simulate Play Mode runtime input, editor focus/menu items/game view, or look up AIBridgeCLI command syntax. For batch/multi scripts use aibridge-batch-script. For complex prefab asset edits use aibridge-prefab-patch. For unsupported direct Unity YAML serialized asset edits use unity-yaml-editing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

Optional read-only AIBridge Code Index semantic lookup for Unity projects. Use only when this Skill is installed and project rules or AIBridge settings say Code Index is enabled. Use for CLI-only symbol, definition, reference, implementation, derived-type, caller, and diagnostic queries. Do not use when Code Index is disabled; use rg, host file reads, and regular AIBridge commands instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

AIBridge/Unity 项目的标准开发工作流。Use when creating, modifying, fixing, refactoring, or validating C# code, Unity assets, prefabs, editor tools, package structure, tests, AGENTS.md, or local Skills. Preserves visible modes for Skills matching, requirement confirmation, analysis, implementation, and final checklist. Do not use for pure Q&A, simple search/display, or code explanation tasks with no file/code/asset changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between prefab patch, inspector set_property, scene object commands, and direct Unity YAML fallback.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

et-async

무료

ET async and EntityRef safety workflow. Use when adding, modifying, or reviewing async/await, ETTask, generic ETTask results, ETCancellationToken, NewContext, concurrent waits, handler Run async safety, or any Entity access after await in WOW/ET code or tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

FlameskyDexive의 스킬 모두 보기

이 스킬의 문제 신고