VSTest

With our last issue using MSTest, we tried to run all tests using VSTest.
Well, the test run as expected, but the action itself dies at the end saying: An error occurred while parsing unit test output. VSTest.Console did not produce a trx report file.

If i look into the log, there are TRX files generated. Well i am not sure were continua is looking for them and if it requires a special name (we have multiple files).
In MSTest action was a TRX file property where we could tell continua the name if the resulting file.

Hi Christian,

As there is no way to specify the name of the trx file that VSTest writes to, we are reading the path for the trx file from the output. This basically involves looking for the line starting with “Results File:”.

I suspect that the your output is in a different language? In which case, we will need to take this into account.

Can you post (or send to support@finalbuilder.com), the output for your action in the log file? If no results file path is not shown in the output, can you also let us know the settings specified in the VSTest action and the contents of any runsettings file?

my output is (depending on the system) german or english. in the case of our buildserver, the german visual studio was installed, so the output is “Ergebnisdatei: C:\BuildAgent\Ws\189177\Source\Care4\Code\TestResults\BuildServer_NEMESIS 2017-01-24 14_39_58.trx”

“Results File:” = “Ergebnisdatei:”

we would love to use VSTest in continua soon

Hi Christian,

Have you tried version 1.8.1.272? We added a fix for VSTest.

 

oh sorry. works great. thank you