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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,602
Community Members
 
Community Events
185
Community Groups

How to parse trx file from vstest.console bamboo

We are using 6.6.3. I see that others are using MSTest Parser. But it does not seem to be working for me. The location is where the file is located. and I specified the file name.

 

26-Apr-2019 14:23:56Starting task 'parse results' of type 'com.atlassian.bamboo.plugin.dotnet:mstest'
26-Apr-2019 14:23:56Parsing test results under C:\bamboo\xml-data\build-dir\xxx-FCT-JOB1...
26-Apr-2019 14:23:56Failing task since test cases were expected but none were found.

2 answers

Well, the servers were rebooted over the weekend, and with no changes, it worked today. I guess something changed, or I don't know what...but it worked. But thanks for your time.

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 29, 2019

Hi Greg,

Something worth looking at, are you sure the test results file exists where you are looking for it? 

I only ask because my development team has moved where test results get output via the msbuild file in the past and I need to update the location the parser is looking, which generates log lines similar to what you have indicated above.

I hope that helps.

-James

I am putting the file in that location and verified the file is in that location....the directory is correct and the file is there..

Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 30, 2019

Hi Greg,

Ok I have two possible routes for you.  If you are using the MSTest Parser, you might be running into the same issue as reported here:

https://community.atlassian.com/t5/Bamboo-questions/MSTest-unable-to-parse-results/qaq-p/308991

I took a look at my own environment and realized that we aren't acutually using the MSTest Parser task.  I'm using the NUnit Parser task who's configuration looks like this:

NUnitParserConfig.JPG

I hope one of those two options helps you resolve your issue.

-James

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events