What are the reasons for VSTest Runner failing to parse test results?

Erin Ge April 24, 2019

I added several VSTest Runner tasks to run several groups of regression tests in my project. The first two tasks works well, but the third one failed. In logs, I saw one test was skipped (due to ignore variable), all other tests has passed, and the results file was generated successfully in correct place. The only error messages are 'Failed to parse test result file "XXX"', 'Failing task since 1 parsing errors occurred'. 

May I ask what could be the reason for failing in parsing and how should I fix it?

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 24, 2019

I think you'll need to read the logs from the VSTest Runner directly to find out what the error is.

Erin Ge April 26, 2019

Thanks Nic! May I ask where can I find the logs of VSTest Runner? I read the logs at test result page, they are as follows. There is not much information.

start test ...




Results File: XXX

Total tests: 143. Passed: 142. Failed: 0. Skipped: 1.

Test Run Successful.

Test execution time: 1.3074 Hours

Parsing test results under XXX

Failing task since 1 parsing errors occurred.

Finished task 'FOExcel regression test' with result: Error

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events