karma-logcapture-reporter
v0.0.1 karma-plugin karma-reporter log
Log capturer for Karma
Captures browser logs (ie: console.log
) during the execution of each test,
appending them only to failed tests.
Note: Using
dump
instead ofconsole.log
will trigger also the default behaviour of writing the message to the terminal.
Configuration
Important: logcapture must be the first configured reporter
This is the minimal configuration needed to enable the capturing.
{
reporters: ['logcapture', 'progress'],
client: {
captureConsole: true
}
}
npm i karma-logcapture-reporter
Metadata
- MIT
- Whatever
- Iván -DrSlump- Montes
- released 4/25/2015