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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,579 views 0 6
Read article

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