In my build process, VsTest.console checks my dll and generates a TestResults\a.trx . The only parameter I added (more than the path to the dll) is the .runsettings file.
The .trx file is not empty, inside xml it is clearly indicated what was done. Double-clicking on the trx file opens vs2013, and the results + coverage are displayed as it should.
Then I want to publish the coverage results using the jenkins MSTest plugin , but it fails because it is looking for a file that does not exist. Here is the output log:
MSTest: Processing tests results in file(s) TestResults\a.trx MSTest: C:\Program Files (x86)\Jenkins\workspace\tepp\TestResults\a.trx mstest xml coverage report file not found: C:\Program Files (x86)\Jenkins\workspace\tepp\TestResults\mstest-coverage.xml
Is it better to use the MSTest-runner plugin?
If not, what did I miss during the build process?
source share