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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

0 votes
Jimmy Seddon Community Leader 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 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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

703 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you