Awesome
karma-tap-reporter
VERY simple Karma plugin to report test results in TAP.
Installation
package.json
{
"devDependencies": {
"karma": "~0.10",
"karma-tap-reporter": "~0.0.6"
}
}
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['tap']
});
};
Optionally you can save report to a file and turn off output to the console.
reporters: ['tap'],
tapReporter: {
outputFile: './unit.tap',
disableStdout: true
}
For more information on Karma see the homepage.