Toolverse
All skills

run-helix-tests

by dotnet

Submit and monitor .NET MAUI unit tests on Helix infrastructure. Supports running XAML, Resizetizer, Core, Essentials, and other unit test projects on distributed Helix queues.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
dotnet
Category
Testing
Views
1

About this skill

Submit and monitor .NET MAUI unit tests on Helix infrastructure. Supports running XAML, Resizetizer, Core, Essentials, and other unit test projects on distributed Helix queues.

How to use

  1. Upewnij się, że masz zainstalowany PowerShell 7 lub nowszy (pwsh). Skill wymaga lokalnie dostępnego SDK .NET — jeśli folder .dotnet/ nie istnieje, uruchom dotnet cake --target=dotnet.

  2. Przed pierwszym użyciem skompiluj zadania budowania. Na Windows wykonaj .\.build.cmd -restore -build -configuration Release -projects .\.Microsoft.Maui.BuildTasks.slnf, na macOS/Linux: ./build.sh -restore -build -configuration Release -projects ./Microsoft.Maui.BuildTasks.slnf.

  3. Aby przesłać wszystkie testy jednostkowe na Helix, uruchom pwsh .github/skills/run-helix-tests/scripts/Submit-HelixTests.ps1 z głównego katalogu projektu.

  4. Jeśli chcesz uruchomić testy w konkretnej konfiguracji, dodaj parametr -Configuration, np. pwsh .github/skills/run-helix-tests/scripts/Submit-HelixTests.ps1 -Configuration Debug.

  5. Aby ograniczyć testy do konkretnej kolejki Helix (np. tylko Windows), użyj parametru -Queue, przykład: pwsh .github/skills/run-helix-tests/scripts/Submit-HelixTests.ps1 -Queue "Windows.10.Amd64.Open".

  6. Po przesłaniu testów możesz monitorować status zadania za pomocą skryptu monitorowania dostępnego w tym samym katalogu skills — sprawdź wyniki na infrastrukturze Helix.

Related skills