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.
npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-test-run --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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. 调试失败遵循先定位原因、再改代码;不要为了跑通测试随意修改正常业务逻辑。 ## 常用命令 ```powershell dotnet build ET.sln ``` ```powershell Remove-Item ./Logs -Recurse -Force -ErrorAction SilentlyContinue ``` ```powershell "Test" | dotnet ./Bin/ET.App.dll --SceneName=Test ``` ```powershell "Test --Name=CreateRobot" | dotnet ./Bin/ET.App.dll --SceneName=Test ``` ```powershell dotnet ./Bin/ET.UnityBridge.dll '{"_t":"Ping"}' ``` ```powershell dotnet ./Bin/ET.UnityBridge.dll '{"_t":"UnityTestRunRequest","Name":".*"}' ``` ```powershell Get-Content ./Logs/All.log -Tail 200 ``` ## 常见失败原因 | 现象 | 优先检查 | |---|
- 何时使用
- 不要加载
- 默认动作
- 常用命令
- 常见失败原因
What does the et-test-run skill do?
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.
How do I install it?
Run `npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-test-run --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From FlameskyDexive/Legends-Of-Heroes, a repository with 908 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
