首页/ AI 技能 / @skilllib/skill-2014279426727424001
Skill站外收录 @skilllib/skill-2014279426727424001

uloop-run-tests

通过 uloop CLI 调用 Unity 测试运行器,支持在编辑模式或播放模式下执行单元与集成测试,可按名称、正则表达式或程序集筛选特定测试,并导出结构化 JSON 与 XML 格式的结果报告。

0.0 (0) 153 次安装 原作者 编程导航
收录于 2026-01-22
测试与安全 AI 技能

Skills.MD

# uloop run-tests Execute Unity Test Runner. ## Usage ```bash uloop run-tests [options] ``` ## Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | `--test-mode` | string | `EditMode` | Test mode: `EditMode`, `PlayMode` | | `--filter-type` | string | `all` | Filter type: `all`, `exact`, `regex`, `assembly` | | `--filter-value` | string | - | Filter value (test name, pattern, or assembly) | | `--save-xml` | boolean | `false` | Save test results as XML | ## Examples ```bash # Run all EditMode tests uloop run-tests # Run PlayMode tests uloop run-tests --test-mode PlayMode # Run specific test uloop run-tests --filter-type exact --filter-value "MyTest.TestMethod" # Run tests matching pattern uloop run-tests --filter-type regex --filter-value ".*Integration.*" ``` ## Output Returns JSON with test results including pass/fail counts and details.

评论 0

还没有评论,来抢沙发。