@twotonebytes/karma-trx-reporter

0.2.6 • Public • Published

karma-trx-reporter

Reporter for the VisualStudio TRX format.

Status

Branch Status
master Build Status

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' }
  });
};

You can pass list of reporters as a CLI argument too:

karma start --reporters trx,dots

For more information on Karma see the homepage.

Package Sidebar

Install

npm i @twotonebytes/karma-trx-reporter

Weekly Downloads

1

Version

0.2.6

License

MIT

Last publish

Collaborators

  • twotonebytes