How to automatically report issue for each NUnit failed test case?

I intend to run a nightly build with NUnit tests on Bamboo, and I want to report an issue for each failed test case. How can I make it so that each failed test creates an issue automatically, preferably with additional information?

1 answer

Hi Marcio,

try to parse the nunit result file already in your build directory and use the JIRA API to generate one issue for each test case.

If your comfortable with C#, use a JIRA rest client from nuget: https://www.nuget.org/packages/TechTalk.JiraRestClient/

If you more Java, build your own maven plugin and integrate it in your pom.

Regards,

Marco

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

185 views 4 1
Join discussion

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