You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
The Azure DevOps "VSTest task" has the built in ability to rerun individual tests that fail.
I would like to this everywhere we use VSTest as the test runner but I can't use the YAML task to call VSTest (well call VSTest.consol.exe directly, so we can selectively call other runners for Android and Linux docker containers).
My problem is, I only see this option for the VSO UI and YAML task.
I can’t find the “vstest.console.exe” command line switch that is the equivalent to the VSTest task parameters “rerunFailedTests: true”, and “rerunMaxAttempts: 3”.
Searching through the azure-pipelines-tasks GitHub, I don’t see where they pass that switch on or store a list of failed test to rerun. I think they may be adding it to a block in the .runsettings file they pass to VSTest.console.exe.
Can someone please tell me how to use the "rerunFailedTests" option when calling VSTest.Console.exe directly? This would be a great item to add to the Documentation Repo?
Thanks,
Brian.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Azure DevOps "VSTest task" has the built in ability to rerun individual tests that fail.
I would like to this everywhere we use VSTest as the test runner but I can't use the YAML task to call VSTest (well call VSTest.consol.exe directly, so we can selectively call other runners for Android and Linux docker containers).
My problem is, I only see this option for the VSO UI and YAML task.
I can’t find the “vstest.console.exe” command line switch that is the equivalent to the VSTest task parameters “rerunFailedTests: true”, and “rerunMaxAttempts: 3”.
Searching through the azure-pipelines-tasks GitHub, I don’t see where they pass that switch on or store a list of failed test to rerun. I think they may be adding it to a block in the .runsettings file they pass to VSTest.console.exe.
Can someone please tell me how to use the "rerunFailedTests" option when calling VSTest.Console.exe directly? This would be a great item to add to the Documentation Repo?
Thanks,
Brian.
The text was updated successfully, but these errors were encountered: