Can jenkins report history with jUnit and nUnit test results in one project

I have an ASP.NET MVC project that is built in a Jenkins project. We use the nUnit plugin in order to deduce the output from our unit tests as a step after assembly.

I just added Jasmine tests for javascript in the project and added a step to MSBuild so that Chutzpah runs Jasmine tests and displays the results in jUnit format.

post-build-steps

I added a post-build step to process the jUnit result file, and Jenkins starts the build and presents two Test Results links on the build results page ...

build-result

However, when I click these links, both go to the same result. When I came out yesterday, these were the results of nUnit this morning, these are the results of jUnit, so I assume that this is only what ended the last?

Is it possible? Do I need to do something different?

+4
source share
2 answers

I would try using the xUnit plugin, so you can configure it to get the junit and nunit test results in one publisher.

+7
source

There is an error in Jenkins: NUnit plugin cannot combine Unit test reports with category separation based on blocks .

To get around this, just put your action to build NUnit messages the last that it works!

0
source

Source: https://habr.com/ru/post/1500667/


All Articles