Open oscarrodar opened 6 years ago
In reality, it is a bug!
https://github.com/Microsoft/vstest-docs/blob/master/docs/analyze.md#collect-coverage-with-command-line-runner specifies that “This will generate a .coverage file in the
\<?xml version="1.0" encoding="UTF-8" ?> \
\
When I run
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe" "D:\BuildAgent\work\22d15c2ebd171441\MYAPP.Tests\bin\Release\MYAPPTests.dll" /collect:"Code Coverage"
the file generated is thrown at a folder within the TestResults folder naming it every time in a different way.I would like the file to be put in a specific folder, ie: TestResults/CoverageReport, with an specific name, ie: MYAPP.coverage.
Is there a way this can be done using the vstest.console.exe utility through the command line?