Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dflynn15/gulp-jasmine-phantom
Browse files Browse the repository at this point in the history
  • Loading branch information
dflynn15 committed Sep 30, 2014
2 parents e07dc8e + 661a9da commit dec3852
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,25 @@ gulp.task('default', function() {
});
```

Also, remember you can always run any multitude of tests using different Gulp tasks. For example, running unit tests and integration tests asynchronously.

```javascript
var gulp = require('gulp');
var jasmine = require('gulp-jasmine-phantom');

gulp.task('unitTests', function () {
return gulp.src('spec/test.js')
.pipe(jasmine());
});

gulp.task('integrationTests', function() {
return gulp.src('spec/test.js')
.pipe(jasmine({
integration: true
}));
});
```

Options
-------

Expand Down

0 comments on commit dec3852

Please sign in to comment.