Skip to content

Commit

Permalink
doctips
Browse files Browse the repository at this point in the history
  • Loading branch information
devWayne committed Oct 10, 2014
1 parent 40ec295 commit c7737e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/writing-a-plugin/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Tooling

Most plugins use [mocha](https://github.com/visionmedia/mocha) and [event-stream](https://github.com/dominictarr/event-stream) to help them test. The following examples will use these tools.
Most plugins use [mocha](https://github.com/visionmedia/mocha),[should](https://github.com/visionmedia/should.js) and [event-stream](https://github.com/dominictarr/event-stream) to help them test. The following examples will use these tools.


## Testing plugins for streaming mode
Expand Down Expand Up @@ -94,7 +94,9 @@ describe('gulp-prefixer', function() {
});
```


## Some plugins with high-quality Testing

## Sample tests

* [gulp-concat](https://github.com/wearefractal/gulp-concat/blob/master/test/main.js)
* [gulp-header](https://github.com/godaddy/gulp-header/blob/master/test/main.js)
* [gulp-cat](https://github.com/ben-eb/gulp-cat/blob/master/test.js)

0 comments on commit c7737e1

Please sign in to comment.