Reputation: 18068
The Visual Studio Test task partially succeeds thus the stage of the pipeline also partially succeeds, but I want the stage to fail if any tests fail(but wait until all test run). Is that possible?
Upvotes: 0
Views: 266
Reputation: 76790
Visual Studio Test task partially succeeds instead of failing when some tests fail
This could be because you have selected "Continue Error" under "Control Options".
According to the document How to: Ignore errors in tasks:
The ContinueOnError attribute of the Task element controls whether a build stops or continues when a task failure occurs. This attribute also controls whether errors are treated as errors or warnings when the build continues.
Upvotes: 1