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

UiPath / uipathcli / 13966951197
90%
main: 91%

Build:
Build:
LAST BUILD BRANCH: chore/update-readme
DEFAULT BRANCH: main
Ran 20 Mar 2025 10:19AM UTC
Jobs 1
Files 117
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

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

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%)

5862 of 6503 relevant lines covered (90.14%)

1.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
93.33
plugin/studio/test_run_result.go
2
95.65
0.78% utils/visualization/progress_bar.go
8
73.0
5.2% plugin/studio/uipcli.go
14
91.46
plugin/studio/test_run_command.go
83
78.39
plugin/studio/orchestrator_client.go
Jobs
ID Job ID Ran Files Coverage
1 13966951197.1 20 Mar 2025 10:19AM UTC 117
90.14
GitHub Action Run
Source Files on build 13966951197
  • Tree
  • List 117
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 48f16830 on github
  • Prev Build on main (#13833538030)
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

© 2025 Coveralls, Inc