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
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

174 views 0 5
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