karma-min-reporter
v0.1.0
Published
Minimal test reporter for Karma
Downloads
944
Maintainers
Readme
karma-min-reporter
Minimal Karma test reporter that mimics mocha's min reporter.
Installation
Install using npm:
$ npm install karma karma-min-reporter --save-dev
Usage
To use the min reporter, add 'min'
to the list of desired reporters in your
karma.conf.js:
reporters: ['min']
Since this reporter works best in multi-run mode (due to the fact that it clears the console), the following config settings are also recommended:
...
// Suppress extra logging from Karma (e.g., browser status messages):
logLevel: config.LOG_WARN,
// Watch files and execute tests whenever any files changes:
autoWatch: true,
// Continuous integration mode. If true, exits process after tests complete.
singleRun: false
...
Alternatively, these settings can be switched with command-line arguments:
$ karma start --reporters=min --auto-watch --no-single-run
License
MIT