node package manager

grunt-rcukes

Grunt plugin for running ruby cucumber.

grunt-rcukes

Grunt plugin for running ruby cucumber.

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
  1. Install cucumber gem

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

    grunt.loadNpmTasks('grunt-rcukes');

Run this task with the grunt cucumber command.

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

Type: String

The features directory containing cucumber features

Type: String

Prefix before cucumber command

Type: String

Cucumber profile to use

Type: String

Cucumber formatter