Skip to content

simonflk/grunt-parallel-behat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-parallel-behat Build Status

Run Behat Features in Parallel

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. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-parallel-behat

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

grunt.loadNpmTasks('grunt-parallel-behat');

Usage Examples

Basic (using default options)

grunt.loadNpmTasks('grunt-parallel-behat');
> grunt behat

By default it will assume the behat.yml is in the same folder as the grunt file and it will run any feature files under the current directory.

Advanced usage

grunt.initConfig({
    behat: {
        src: '/path/to/features/**/*.feature',
        config: './behat/behat.yml',
        maxProcesses: 5,
        bin: './bin/behat',
        flags: '--tags @wip',
        output: './report.json'
    }
});

License

Copyright (c) 2013 Linus Norton

Licensed under the MIT license.

About

Grunt task for running parallel behat features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%