Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fumiakiy/karma-tap-reporter

Karma plugin to report test results in TAP.
https://github.com/fumiakiy/karma-tap-reporter

Last synced: about 2 months ago
JSON representation

Karma plugin to report test results in TAP.

Awesome Lists containing this project

README

        

# karma-tap-reporter

> VERY simple Karma plugin to report test results in TAP.

## Installation

`package.json`
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-tap-reporter": "~0.0.6"
}
}
```

## Configuration
```js
// 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.
```js
reporters: ['tap'],

tapReporter: {
outputFile: './unit.tap',
disableStdout: true
}
```
----

For more information on Karma see the [homepage].

[homepage]: http://karma-runner.github.com