0.1.9 • Published 7 years ago

grunt-browserstack-performance-test v0.1.9

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

grunt-browserstack-performance-test Build Status

A grunt plugin to run performance test on Browserstack.

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-browserstack-performance-test --save-dev

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

grunt.loadNpmTasks('grunt-browserstack-performance-test');

The "browserstack-performance-test" task

Overview

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

grunt.initConfig({
  browserstack-performance-test: {
    your_target: {
        options: {
          // Task-specific options go here.
        }
    }
  }
});

Options

options.filePath

Type: String Default value: 'performance-test/result.xml'

A string value that is used to defined path to file with test results.

options.toConsole

Type: Boolean Default value: false

A boolean value that is used to define show result in console or only write in file.

options.numberOfRuns

Type: Number Default value: 1

A number value that is used to define number of runs.

Usage Examples

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

'browserstack-performance-test': {
    'test': {
        options: {
            filePath: 'my/path/result.xml',
            toConsole: true,
            numberOfRuns: 3
        }
    }
}
0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago