Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baer/gulp-nodeunit-runner
A nodeunit test runner plugin for Gulp
https://github.com/baer/gulp-nodeunit-runner
Last synced: 2 months ago
JSON representation
A nodeunit test runner plugin for Gulp
- Host: GitHub
- URL: https://github.com/baer/gulp-nodeunit-runner
- Owner: baer
- License: mit
- Created: 2014-03-03T04:13:22.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-02T21:37:36.000Z (over 10 years ago)
- Last Synced: 2024-10-31T05:51:41.217Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 287 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-nodeunit-runner
[![NPM version][npm-image]][npm-url] [![Dependency Status][depstat-image]][depstat-url] [![Build Status][travis-image]][travis-url]> nodeunit-runner plugin for [gulp](https://github.com/wearefractal/gulp)
## Usage
First, install `gulp-nodeunit-runner` as a development dependency:
```shell
npm install --save-dev gulp-nodeunit-runner
```Then, add it to your `gulpfile.js`:
```javascript
var nodeunitRunner = require("gulp-nodeunit-runner");gulp.src("./src/*.ext")
.pipe(nodeunitRunner());
```## API
### nodeunitRunner(options)
#### options.reporter
Type: `String`
Default: `default`The nodeunit reporter to use. See [nodeunit](https://github.com/caolan/nodeunit) documentation for a complete list.
#### options.reporterOptions
Type: `Object`
Default: reporter defaultsNodeunit provides a set of callbacks that will be executed during test execution. These are used by the reporter but can be overridden using this option. See [nodeunit](https://github.com/caolan/nodeunit) documentation for a complete list.
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)
[npm-url]: https://npmjs.org/package/gulp-nodeunit-runner
[npm-image]: https://badge.fury.io/js/gulp-nodeunit-runner.png[travis-url]: http://travis-ci.org/baer/gulp-nodeunit-runner
[travis-image]: https://secure.travis-ci.org/baer/gulp-nodeunit-runner.png?branch=master[depstat-url]: https://david-dm.org/baer/gulp-nodeunit-runner
[depstat-image]: https://david-dm.org/baer/gulp-nodeunit-runner.png