grunt-gemini-runner

0.1.10 • Public • Published

grunt-gemini-runner Build Status

A grunt plugin to run Gemini tests.

Getting Started

This plugin requires Grunt ~0.4.5

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-gemini-runner --save-dev

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

grunt.loadNpmTasks('grunt-gemini-runner');

The "gemini-runner" task

Overview

In your project's Gruntfile, add a section named gemini-runner to the data object passed into grunt.initConfig().

grunt.initConfig({
  gemini-runner: {
    your_target: {
        options: {
          // Task-specific options go here.
        }
    }
  }
});

Options

options.task

Type: String Default value: 'test'

A string value that is used to defined starts test or update tasks.

options.config

Type: String Default value: '.gemini.yml'

A string value that is used to define config files.

options.reporter

Type: String

A string value that is used to determine whether the report was created on the test results.

options.local

Type: Boolean

A string value that is used to determine whether the test is carried out locally or using a Cloud service. For local test used PhantomJS.

Usage Examples

In this example, the updated reference screenshots for the local version.

'gemini-runner': {
    'local-update': {
        options: {
            task: 'update',
            config: '.gemini-local.yml',
            local: true
        }
    }
}

Readme

Keywords

Package Sidebar

Install

npm i grunt-gemini-runner

Weekly Downloads

1

Version

0.1.10

License

none

Last publish

Collaborators

  • appsngen