Replies: 1 comment 2 replies
-
You can have a look here https://learn.microsoft.com/dotnet/core/testing/unit-testing-platform-extensions-policy#retry. Please do let us know if there is something missing or unclear from the docs. I see that you are referencing both xunit and MSTest in the same project. This is not a pattern we recommend (or enable) with the new platform. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
is there a documentation how to add retry logic to a test run? I added EnableMSTestRunner and OutputType=exe to my test project and also reference to Microsoft.Testing.Extensions.Retry. But one of my flaky test is still failing and I don't see any retry attempt. What I'm missing? Is there a way how to see that test retries?
My csproj is simple
And I run tests with dotnet test.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions