uloop-run-tests

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.

⭐105stars🔀8forks📁View on GitHub🕐Updated Jan 3, 2026⬇️1downloads

When & Why to Use This Skill

The uloop-run-tests skill automates the Unity Test Runner via the uloop CLI, enabling developers to execute unit (EditMode) and integration (PlayMode) tests efficiently. It streamlines the quality assurance process by providing instant feedback on code changes, supporting various filtering options, and delivering detailed test results to ensure software stability and prevent regressions in Unity projects.

Use Cases

  • Automated Regression Testing: Quickly verify that new code changes haven't introduced bugs by running the full suite of EditMode and PlayMode tests.
  • Targeted Test Execution: Use regex or exact name filters to isolate and run specific tests during the debugging process, saving time on large projects.
  • Continuous Quality Monitoring: Integrate test execution into the development workflow to maintain high code standards and catch integration issues early.
  • Assembly-level Validation: Run tests for specific assemblies to verify modular components of a Unity project independently.
nameuloop-run-tests
description"Execute Unity Test Runner. Use when: running unit tests, verifying code changes, checking test results, or when user asks to run tests. Returns test results with pass/fail counts."

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.