A set of device runners for various testing frameworks.
80
stars
104
commits
C#
primary language
Jul 29, 2026
updated
A set of device runners for various testing frameworks.
The current platforms are:
The current testing frameworks supported are:
dotnet test (Recommended)The simplest way to run device tests. Add the DeviceRunners.Testing.Targets NuGet package to your test project, then run:
dotnet test MyApp.DeviceTests.csproj -f net10.0-maccatalyst
dotnet test MyApp.DeviceTests.csproj -f net10.0-ios
dotnet test MyApp.DeviceTests.csproj -f net10.0-android
dotnet test MyApp.DeviceTests.csproj -f net10.0-windows10.0.19041.0
This builds, deploys, and runs your test app, then collects TRX results automatically. No extra tooling needed.
More information: Using dotnet test
Testing using the visual runner is just a matter of running the test app like any other app. This can be done via the CLI or in the IDE. Perfect for debugging individual tests.
More information: Visual Runner in the IDE
For scenarios requiring fine-grained control over deployment, the DeviceRunners CLI tool can be used directly. This is what dotnet test uses under the hood.
More information: Using DeviceRunners CLI
For legacy CI setups, XHarness is still supported for Android, iOS, and Mac Catalyst.
More information: Using XHarness
This is repository contains revised code from a few places:
C#
94.1%
HTML
2.4%
PowerShell
2.3%
CSS
1.2%
A set of device runners for various testing frameworks.
80
stars
104
commits
C#
primary language
Jul 29, 2026
updated
A set of device runners for various testing frameworks.
The current platforms are:
The current testing frameworks supported are:
dotnet test (Recommended)The simplest way to run device tests. Add the DeviceRunners.Testing.Targets NuGet package to your test project, then run:
dotnet test MyApp.DeviceTests.csproj -f net10.0-maccatalyst
dotnet test MyApp.DeviceTests.csproj -f net10.0-ios
dotnet test MyApp.DeviceTests.csproj -f net10.0-android
dotnet test MyApp.DeviceTests.csproj -f net10.0-windows10.0.19041.0
This builds, deploys, and runs your test app, then collects TRX results automatically. No extra tooling needed.
More information: Using dotnet test
Testing using the visual runner is just a matter of running the test app like any other app. This can be done via the CLI or in the IDE. Perfect for debugging individual tests.
More information: Visual Runner in the IDE
For scenarios requiring fine-grained control over deployment, the DeviceRunners CLI tool can be used directly. This is what dotnet test uses under the hood.
More information: Using DeviceRunners CLI
For legacy CI setups, XHarness is still supported for Android, iOS, and Mac Catalyst.
More information: Using XHarness
This is repository contains revised code from a few places:
C#
94.1%
HTML
2.4%
PowerShell
2.3%
CSS
1.2%