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

uloop-run-tests

提供 Unity 项目自动化测试执行能力,支持编辑模式与运行模式下的单元测试触发,可按名称、正则或程序集筛选特定测试用例,并生成结构化测试报告,包含通过率、失败数及详细执行日志。

0.0 (0) 33 次安装 原作者 编程导航
收录于 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

还没有评论,来抢沙发。