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
Have an ADO pipeline using the JustMockVSTest@2 task, which sets a couple of env vars and then forwards the inputs and work to the VSTest@2 task.
I have a test dll that, while it does actually have tests in it, its build doesn't include the test adapter as part of its output, so VSTest is unable to enumerate the test cases to execute them.
I assumed the failOnMinTestsNotRun should catch this case, as there are no test cases run, but the build happily completes successfully!
Description
Have an ADO pipeline using the JustMockVSTest@2 task, which sets a couple of env vars and then forwards the inputs and work to the VSTest@2 task.
I have a test dll that, while it does actually have tests in it, its build doesn't include the test adapter as part of its output, so VSTest is unable to enumerate the test cases to execute them.
I assumed the failOnMinTestsNotRun should catch this case, as there are no test cases run, but the build happily completes successfully!
Steps to reproduce
Explained in Description
Expected behavior
No tests run, task/build fails
Actual behavior
No tests run, task/build succeeds
Diagnostic logs
Attempt--1_p5u4gv.txt
Environment
This is a .Net 4.5 project on vmImage: 'windows-2019'.
The text was updated successfully, but these errors were encountered: