MS Test Parser fails to parse the test results file

Hi,

 

I am using MS Test Run and MS Test Parser my in Bamboo builds. 

I have bamboo build task named "Test Parser" with File Directory parameter with value "C:/AutomationBinaries/Results/testresults.trx'.

But the task is getting failed with an error  

Failing task since test cases were expected but none were found.

 

simple	19-Aug-2016 15:03:27	Finished task 'Trigger Run'
simple	19-Aug-2016 15:03:27	Starting task 'Parse Test cases' of type 'com.atlassian.bamboo.plugin.dotnet:mstest'
simple	19-Aug-2016 15:03:27	Parsing test results...
simple	19-Aug-2016 15:03:27	Failing task since test cases were expected but none were found.
simple	19-Aug-2016 15:03:27	Finished task 'Parse Test cases'
simple	19-Aug-2016 15:03:27	Running post build plugin 'NCover Results Collector'
simple	19-Aug-2016 15:03:27	Running post build plugin 'Clover Results Collector'
simple	19-Aug-2016 15:03:27	Running post build plugin 'Post Command Agent Runner'
simple	19-Aug-2016 15:03:27	Finalising the build...
simple	19-Aug-2016 15:03:27	Stopping timer.
simple	19-Aug-2016 15:03:27	Build EX-EX-RUN-23 completed.

 

Can somebody please help me to resolve this issue.

2 answers

0 votes

Maybe you need to set the directory parameter to C:/AutomationBinaries/Results ?

thanks Przemek. I tried with the directory parameter to C:/AutomationBinaries/Results .. but this didnt help either.. same issue.

Can you link your task configuration screen?

I am really got stuck.. Can somebody from Bamboo team help me here..

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

441 views 2 5
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you