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

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

NUnit test result not displaying correctly in Bamboo?

I'm using Bamboo (cloud) to parse NUnit 3.0.1 test results and have encountered two oddities (possibly related) that I either don't have set up correctly or at least I'm not interpreting correctly:

  1. When tests pass they show up correctly as "X tests passed" on the plan summary page, but if I go to the specific build page they are listed as "Quarantined / skipped". Is there not a way to get them to show up as "Passed"? (I don't see a "Passed" list, but having them show up next to a red exclamation point when there's nothing wrong with them is misleading.)

  2. If a test begins to fail it correct shows up as a "New failure"; if it continues to fail it shows up as an "Existing failure"; but once I fix it it doesn't show up as a "Fixed" test. (It just jumps to "Skipped", as above.)

Have I set something up wrong?

 

Thanks,

Andrew

 

1 answer

Never mind: it turns out this is because Bamboo does not support the NUnit 3 results schema (yet, I hope).

I was able to get it working by specifying the format option to nunit3-console.exe:

--result=TestResults.xml;format=nunit2

Some references:

 

Thanks for the tip, finally they are showing as passed and not Quarantined / skipped.

Andrew Pane's comment made NUnit test result parsing work for us, thanks Andrew!
We also moved the Test parsing task to 'Final Tasks' in our job, so the results are being parsed even if there's tests failing.  

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...

653 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