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

shi2ru October 7, 2014

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

0 votes
Marco_Wlotzka October 7, 2014

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
TAGS
AUG Leaders

Atlassian Community Events