Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Erin Ge
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 ...

passed...

passed...

...

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
TAGS
AUG Leaders

Atlassian Community Events