1.0.2 • Published 7 years ago

grunt-parallel-behat v1.0.2

Weekly downloads
154
License
-
Repository
github
Last release
7 years ago

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',
        options: {
            config: './behat/behat.yml',
            maxProcesses: 5,
            bin: './bin/behat',
            flags: '--tags @wip',
            // Optional for junit formatted output 
            junit: {
                output_folder: 'tests/test_results/'
            }
            env: {
                MINK_EXTENSION_PARAMS: 'base_url=http://localhost:8080'
            }
        }
    }
});

License

Copyright (c) 2013 Linus Norton

Licensed under the MIT license.

1.0.2

7 years ago

1.0.1

8 years ago

0.4.5

8 years ago

1.0.0

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.6

9 years ago

0.3.5

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.9

11 years ago

0.2.8

11 years ago

0.2.7

11 years ago

0.2.6

11 years ago

0.2.5

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago