金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

uloop-run-tests

uloop-run-tests 是面向测试与安全的 Agent Skill,来自 hatayama/uLoopMCP。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Execute Unity Test Runner via uloop CLI. Use when you need to: (1) Run unit tests (EditMode tests), (2) Run integration tests (PlayMode tests), (3) Verify code changes don't break existing functionality.

SKILL.md

下载 MD ↓
nameuloop-run-tests
descriptionExecute Unity Test Runner via uloop CLI. Use when you need to: (1) Run unit tests (EditMode tests), (2) Run integration tests (PlayMode tests), (3) Verify code changes don't break existing functionality.

uloop run-tests

Execute Unity Test Runner.

Usage

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

# 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.

来源:hatayama/uLoopMCP · MIT 许可 · 许可原文 · MD 为来源页保存的历史版本