Microsoft.Maui.Testing
0.1.0-preview.16.26575.3
Prefix Reserved
dotnet add package Microsoft.Maui.Testing --version 0.1.0-preview.16.26575.3
NuGet\Install-Package Microsoft.Maui.Testing -Version 0.1.0-preview.16.26575.3
<PackageReference Include="Microsoft.Maui.Testing" Version="0.1.0-preview.16.26575.3" />
<PackageVersion Include="Microsoft.Maui.Testing" Version="0.1.0-preview.16.26575.3" />
<PackageReference Include="Microsoft.Maui.Testing" />
paket add Microsoft.Maui.Testing --version 0.1.0-preview.16.26575.3
#r "nuget: Microsoft.Maui.Testing, 0.1.0-preview.16.26575.3"
#:package Microsoft.Maui.Testing@0.1.0-preview.16.26575.3
#addin nuget:?package=Microsoft.Maui.Testing&version=0.1.0-preview.16.26575.3&prerelease
#tool nuget:?package=Microsoft.Maui.Testing&version=0.1.0-preview.16.26575.3&prerelease
Microsoft.Maui.Testing
Microsoft.Maui.Testing provides a MAUI builder and native test lifecycle for MTP-based tests running on Android, iOS, and Mac Catalyst. The generated project references MAUI Controls, so tests can construct and exercise controls directly.
dotnet new install Microsoft.Maui.Testing.Templates --prerelease
dotnet new mauitest -n MyApp.Tests
cd MyApp.Tests
dotnet test
The runtime package is referenced automatically by the mauitest template. Configure dependencies through MauiTestApp.CreateBuilder().Services; MSTest is the template default, and framework adapters are configured in MauiProgram.
See the full documentation for Apple commands and framework conversion instructions.
This package is experimental and supports .NET 10 and .NET 11.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. net11.0-android37.0 is compatible. net11.0-ios27.2 is compatible. net11.0-maccatalyst27.2 is compatible. |
-
net10.0
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- Microsoft.Maui.Controls (>= 10.0.41)
- Microsoft.Maui.Core (>= 10.0.41)
- Microsoft.Maui.Essentials (>= 10.0.41)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net10.0-android36.0
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- Microsoft.Maui.Controls (>= 10.0.41)
- Microsoft.Maui.Core (>= 10.0.41)
- Microsoft.Maui.Essentials (>= 10.0.41)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net10.0-ios26.0
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- Microsoft.Maui.Controls (>= 10.0.41)
- Microsoft.Maui.Core (>= 10.0.41)
- Microsoft.Maui.Essentials (>= 10.0.41)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net10.0-maccatalyst26.0
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Hosting.Abstractions (>= 11.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 11.0.0)
- Microsoft.Maui.Controls (>= 10.0.41)
- Microsoft.Maui.Core (>= 10.0.41)
- Microsoft.Maui.Essentials (>= 10.0.41)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net11.0
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Maui.Controls (>= 11.0.10)
- Microsoft.Maui.Core (>= 11.0.10)
- Microsoft.Maui.Essentials (>= 11.0.10)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net11.0-android37.0
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Maui.Controls (>= 11.0.10)
- Microsoft.Maui.Core (>= 11.0.10)
- Microsoft.Maui.Essentials (>= 11.0.10)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net11.0-ios27.2
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Maui.Controls (>= 11.0.10)
- Microsoft.Maui.Core (>= 11.0.10)
- Microsoft.Maui.Essentials (>= 11.0.10)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
-
net11.0-maccatalyst27.2
- Microsoft.Extensions.DependencyInjection (>= 11.0.0)
- Microsoft.Maui.Controls (>= 11.0.10)
- Microsoft.Maui.Core (>= 11.0.10)
- Microsoft.Maui.Essentials (>= 11.0.10)
- Microsoft.Testing.Extensions.TrxReport (>= 2.3.2)
- Microsoft.Testing.Platform (>= 2.3.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.16.26575.3 | 78 | 11/26/2026 |
| 0.1.0-preview.16.26575.2 | 67 | 11/26/2026 |
| 0.1.0-preview.15.26574.3 | 72 | 11/25/2026 |
| 0.1.0-preview.14.26573.4 | 73 | 11/23/2026 |
| 0.1.0-preview.14.26573.2 | 68 | 11/23/2026 |
| 0.1.0-preview.14.26567.2 | 95 | 11/17/2026 |
| 0.1.0-preview.14.26555.2 | 140 | 11/6/2026 |
| 0.1.0-preview.14.26531.2 | 82 | 10/31/2026 |
| 0.1.0-preview.13.26526.5 | 77 | 10/26/2026 |