0.2.6 • Published 9 years ago

@twotonebytes/karma-trx-reporter v0.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

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.