Microsoft.Testing.Extensions.Retry
2.2.1
Prefix Reserved
dotnet add package Microsoft.Testing.Extensions.Retry --version 2.2.1
NuGet\Install-Package Microsoft.Testing.Extensions.Retry -Version 2.2.1
<PackageReference Include="Microsoft.Testing.Extensions.Retry" Version="2.2.1" />
<PackageVersion Include="Microsoft.Testing.Extensions.Retry" Version="2.2.1" />
<PackageReference Include="Microsoft.Testing.Extensions.Retry" />
paket add Microsoft.Testing.Extensions.Retry --version 2.2.1
#r "nuget: Microsoft.Testing.Extensions.Retry, 2.2.1"
#:package Microsoft.Testing.Extensions.Retry@2.2.1
#addin nuget:?package=Microsoft.Testing.Extensions.Retry&version=2.2.1
#tool nuget:?package=Microsoft.Testing.Extensions.Retry&version=2.2.1
Microsoft.Testing.Extensions.Retry
Microsoft.Testing.Extensions.Retry is an extension for Microsoft.Testing.Platform that provides test resilience and transient-fault handling by rerunning failed tests.
Microsoft.Testing.Platform is open source. You can find Microsoft.Testing.Extensions.Retry code in the microsoft/testfx GitHub repository.
Install the package
dotnet add package Microsoft.Testing.Extensions.Retry
About
This package extends Microsoft.Testing.Platform with:
- Automatic retry: automatically re-runs failed tests up to a configurable number of times
- Retry guards: can stop retries when failure thresholds are exceeded (
--retry-failed-tests-max-percentage,--retry-failed-tests-max-tests) - Integration-test focus: intended for scenarios where transient environment issues can cause intermittent failures
Configure retry using --retry-failed-tests <retries>, and optionally limit retries with --retry-failed-tests-max-percentage or --retry-failed-tests-max-tests.
Documentation
For this extension, see https://learn.microsoft.com/dotnet/core/testing/microsoft-testing-platform-retry.
For comprehensive documentation, see https://aka.ms/testingplatform.
Feedback & contributing
Microsoft.Testing.Platform is an open source project. Provide feedback or report issues in the microsoft/testfx GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Testing.Platform (>= 2.2.1)
-
net8.0
- Microsoft.Testing.Platform (>= 2.2.1)
-
net9.0
- Microsoft.Testing.Platform (>= 2.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Microsoft.Testing.Extensions.Retry:
| Repository | Stars |
|---|---|
|
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
|
|
|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.1 | 189 | 4/7/2026 |
| 2.1.0 | 41,427 | 2/3/2026 |
| 2.0.2 | 64,776 | 11/11/2025 |
| 2.0.1 | 4,021 | 10/14/2025 |
| 2.0.0 | 642 | 10/7/2025 |
| 2.0.0-preview.25480.4 | 151 | 9/30/2025 |
| 2.0.0-preview.25465.3 | 241 | 9/15/2025 |
| 2.0.0-preview.25454.2 | 160 | 9/4/2025 |
| 2.0.0-preview.25452.10 | 144 | 9/2/2025 |
| 2.0.0-preview.25415.9 | 149 | 8/15/2025 |
| 2.0.0-preview.25372.6 | 549 | 7/22/2025 |
| 2.0.0-preview.25358.7 | 151 | 7/8/2025 |
| 1.9.1 | 9,727 | 11/11/2025 |
| 1.9.0 | 5,865 | 10/1/2025 |
| 1.8.5 | 736 | 9/30/2025 |
| 1.8.4 | 8,593 | 9/2/2025 |
| 1.8.3 | 2,787 | 8/26/2025 |
| 1.8.2 | 14,468 | 8/12/2025 |
| 1.8.1 | 2,841 | 8/5/2025 |
| 1.8.0 | 1,114 | 7/29/2025 |