microsoft / vstest

Visual Studio Test Platform is the runner and engine that powers test explorer and vstest.console.
MIT License
889 stars 320 forks source link

VSTest after 1st Run will re-run failed tests but instead runs all tests #5016

Closed aaronportier closed 2 months ago

aaronportier commented 5 months ago

I am running the Latest. I have a Category that's set to Filter by. I have 1 test it fails and when Its supposed to rerun that failed test it runs all the tests? Its in Batch Mode 1 Test.

IsValidServiceResponse: Received None command..Service Workflow is not active Creating run for selected test assemblies with following parameters SourceFilter: ThisWontBeUsed TestCaseFilter: TestCategory=Notifications

Does anyone know why this is happening?

nohwnd commented 2 months ago

This is a VSTest task issue, vstest itself (this repo) does not do batching in this way, please file an issue on the VSTest task: https://github.com/microsoft/azure-pipelines-tasks