@twotonebytes/karma-trx-reporter
v0.2.6
Published
A Karma plugin. Report results in MSTest trx format.
Downloads
5
Maintainers
Readme
karma-trx-reporter
Reporter for the MSTest trx format.
Installation
The easiest way is to keep karma-trx-reporter
as a devDependency in your package.json
.
{
"devDependencies": {
"karma": "~0.10",
"karma-trx-reporter": "~0.1"
}
}
You can simple do it by:
npm install karma-trx-reporter --save-dev
Configuration
// karma.conf.js
module.exports = function(config) {
config.set({
reporters: ['progress', 'trx'],
// the default configuration
trxReporter: {
outputFile: 'test-results.trx',
suite: ''
}
});
};
You can pass list of reporters as a CLI argument too:
karma start --reporters trx,dots
For more information on Karma see the homepage.