gruntjs plugin to run ruby cucumber via grunt
CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tasks
.gitignore
.npmignore
Gruntfile.coffee
README.md
package.json

README.md

grunt-rcukes

Grunt plugin for running ruby cucumber.

##Getting Started

This plugin requires Grunt 0.4.0.

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins.

  1. Install this grunt plugin with the following command:

    npm install grunt-rcukes --save-dev
  2. Install cucumber gem

    gem install cucumber
  3. Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

    grunt.loadNpmTasks('grunt-rcukes');

##Cucumber task

Run this task with the grunt cucumber command.

###Usage Example

cucumber: {
    test: {
        features: 'features/'
    },
    options: {
        prefix: 'bundle exec',
        profile: 'default',
        format: 'progress'
    }
}

###Target Properties ####features Type: String

The features directory containing cucumber features

###Options ####prefix Type: String

Prefix before cucumber command

####profile Type: String

Cucumber profile to use

####format Type: String

Cucumber formatter