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

https://github.com/bysabi/karma-tap

Let your Karma tests to consume TAP output
https://github.com/bysabi/karma-tap

karma karma-adapter tap

Last synced: 11 days ago
JSON representation

Let your Karma tests to consume TAP output

Awesome Lists containing this project

README

        

# Karma TAP adapter

[![npm version](https://badge.fury.io/js/karma-tap.svg)](https://badge.fury.io/js/karma-tap)
[![npm downloads](https://img.shields.io/npm/dm/karma-tap.svg?style=flat-square)](https://www.npmjs.com/package/karma-tap)
[![Build Status](https://travis-ci.org/bySabi/karma-tap.svg?branch=master)](https://travis-ci.org/bySabi/karma-tap)
[![Windows Tests](https://img.shields.io/appveyor/ci/bySabi/karma-tap/master.svg?label=Windows%20Tests)](https://ci.appveyor.com/project/bySabi/karma-tap)
[![Donate](https://img.shields.io/badge/$-support-green.svg?style=flat-square)](https://paypal.me/bySabi/10)

> This Karma adapter reads [TAP](https://testanything.org/) output from runners like
[tape](https://github.com/substack/tape) into [Karma](https://karma-runner.github.io)

#### Works with Karma _1_, _2_, _3_ and _4_

## Installation

### npm
```bash
npm install karma-tap --save-dev
```

### ES5 browser support
If needed ES5 browser support, Ex. `IE11`, use [karma-tap 3.x.x branch](https://github.com/bySabi/karma-tap/tree/3.X.X)

## Configuration Example
`karma.conf.js`
```js
module.exports = function(config) {
config.set({
frameworks: ['browserify', 'tap'],
files: [
'test/**/*.js'
],
preprocessors: {
'test/**/*.js': [ 'browserify' ]
}
});
};
```

## Projects using `karma-tap`
* [carma-tap-webpack](https://github.com/bySabi/carma-tap-webpack)

## TAP Protocol
Support TAP Protocol version `13`

## Credits

### author
* Tom MacWright <> [@tmcw](https://github.com/tmcw)

### current mantainers

* [@bySabi](https://github.com/bySabi)

### contributors

* [@eiriksm](https://github.com/eiriksm)
* [@Mike S](https://github.com/SpainTrain)
* [@marques-work](https://github.com/marques-work)
* [@wesley luyten](https://github.com/luwes)

## Contributing

* Documentation improvement
* Feel free to send any PR

## License

[ISC][isc-license]

[isc-license]:./LICENSE