A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/dotnet/core/testing/microsoft-testing-platform-extensions-policy below:

Microsoft.Testing.Platform policy extensions - .NET

Policy extensions

In this article

This article lists and explains all Microsoft.Testing.Platform extensions related to the policy capability.

Retry

A .NET test resilience and transient-fault-handling extension.

This extension is intended for integration tests where the test depends heavily on the state of the environment and could experience transient faults.

This extension is shipped as part of Microsoft.Testing.Extensions.Retry package.

The available options are as follows:

Option Description --retry-failed-tests Reruns any failed tests until they pass or until the maximum number of attempts is reached. --retry-failed-tests-max-percentage Avoids rerunning tests when the percentage of failed test cases crosses the specified threshold. --retry-failed-tests-max-tests Avoids rerunning tests when the number of failed test cases crosses the specified limit.

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

Additional resources

In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4