I have a VSTest@2 step in my Azure DevOps build pipeline.
I get the following in the output:
Results File:
d:\a\_temp\TestResults\VssAdministrator_xx-az678_2020-02-25_18_50_38.trx
Total tests: 7132
Passed: 7108
Failed: 2
Skipped: 22
##[error]Test Run Failed.
....
##[warning]Vstest failed with error. Check logs for failures. There might be failed tests.
##[error]Error: The process 'd:\a\_tasks\VSTest_{SomeGuid}\2.165.2\Modules\DTAExecutionHost.exe' failed with exit code 1
##[error]Vstest failed with error. Check logs for failures. There might be failed tests.
Okay, so two tests failed (out of 7,132). As far as I can see, there's nothing helpful that says "Here are the two tests that failed". The output is enormous and it takes
how can I easily identify which tests
For this issue ,you can view the test report in Tests tab. Test reports provide an effective and consistent way to view the tests results executed using different test frameworks, in order to measure pipeline quality, review traceability, troubleshoot failures and drive failure ownership.
Test results can be surfaced in the Tests tab using one of the following options:
You can refer to this document for details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With