• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 13967044741

19 Mar 2025 09:08AM UTC coverage: 90.143% (-0.3%) from 90.483%
13967044741

push

github

thschmitt
Add run command to execute tests on UiPath Orchestrator

`uipath studio test run` packages the project in the given folder,
uploads the package and executes the tests through the connected
orchestrator instance.

The run command performs the following steps:
- Builds the given project with output type "Tests"
- Uploads the generated nupkg package to Orchestrator
- Gets the existing releases for the package
- The command will either update the release if it is already present,
  or generate a new one if it is not.
- Creates a test set based on the latest release
- Starts the execution of the test set
- Waits for the tests to finish

Implementation:

- Added new TestRunCommand `uipath studio test run` with two parameters:
  `--source .`: Path to UiPath Studio project
  `--timeout 3600`: Time to wait for tests to finish
- Extracted common logic for interacting with the Orchestrator API into
  `orchestratorClient` and using it from the publish and test run
  command
- Extended the progress bar to support showing progress based on the
  number of steps. This is used to display the total number of tests
  and how many have finished:
  `running...        |███                 | (1/6)`
- Extended the `nupkgReader` to parse the package id from the nuspec
  which is used to create the release
- Add `ExecuteAndWait` method to `uipcli`

Issue: https://github.com/UiPath/uipathcli/issues/158

581 of 690 new or added lines in 17 files covered. (84.2%)

68 existing lines in 6 files now uncovered.

5862 of 6503 relevant lines covered (90.14%)

1.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.75
/plugin/studio/package_pack_command.go


Build SHA Not Found

The commit SHA "48f16830d627ecbaf76c1fca805085c79ef52571" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc