karma-prettybrowser-reporter
A karma plugin for exporting unit test results in a pretty HTML format.
This is a plugin for the Karma Test Runner. By adding this reporter to your karma configuration, unit test results will be exported as a styled HTML file. For each test browser, a separate table is generated. The plugin is based on the karma-junit-reporter plugin and the karma-htmlfile-reporter plugin.
Installation
The easiest way is to keep karma-prettybrowser-reporter
as a devDependency in your package.json
.
You can simple do it by:
npm install karma-prettybrowser-reporter --save-dev
Configuration
// karma.conf.jsmodule { config;};
You can pass list of reporters as a CLI argument too:
karma start --reporters prettyBrowserReport