O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTML report

Karma also generates an HTML report that shows exactly what lines were tested. The Jenkins report already shows pretty much the same, but I prefer the Karma report. Besides, I want to show you how to publish HTML reports. You can publish pretty much any HTML page. First, we need to install an additional plugin. Go to the plugin manager, find the HTML Publisher plugin (https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin), and install it. After that, go back to your project configuration. You can now add another post-build action, Publish HTML Reports. You will get a box where you can add reports, so you can only add the action once, but then add as many reports as you like. So, add one and specify test/coverage/html ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required