refill-task-jasmine

1.1.1 • Public • Published

Refill task jasmine

Jasmine gulp task in Refill format. Useful for testing your node app. It uses jasmine API directly, and in watch mode it runs jasmine in separate process to avoid require cache invalidation problem.

Made by Zaklinacze Kodu

Facebook

Shields

npm npm npm Travis
bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code
GitHub forks GitHub stars GitHub watchers

Installation

npm install --save refill-task-jasmine refill gulp

Example

Refill task jasmine is used in Refill for node

Quickstart

Just put this code in gulpfile.js

require('refill')({
  'jasmine': {
    task: require('refill-task-jasmine')
  }
}, require('gulp'), {})

Usage

Make sure you understand how Refill works

Default options

require('refill')({
  'jasmine': {
    task: require('refill-task-jasmine'),
    globs: [
      'src/*.js',
      'src/**/*.js'
    ],
    jasmine: {
      spec_dir: './src/',
      spec_files: [
        '*Spec.js',
        '**/*Spec.js'
      ]
    }
  }
}, require('gulp'), {})

globs

Globs that will be used to watch file changes.

jasmine

this will be passed to jasmine.loadConfig(jasmine). Check jasmine documentation for more informations

Changelog

Changelog at github

Sponsors

Zaklinacze Kodu

Readme

Keywords

Package Sidebar

Install

npm i refill-task-jasmine

Weekly Downloads

0

Version

1.1.1

License

MIT

Last publish

Collaborators

  • bolo