grunt-buster-remotewebdriver

0.0.1 • Public • Published

grunt-buster-remotewebdriver

Grunt task for running Buster.JS tests in Real Devices or Simuletors via Remote WebDriver

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-buster-remotewebdriver

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

grunt.loadNpmTasks('grunt-buster-remotewebdriver');

Then, you must install Buster.JS:

npm install buster

Run

grunt buster-remotewebdriver

Sample Configuration

"buster-remotewebdriver": {
    sample: {
        options: {
            remoteConfigs: [
                // Android 4.x Device / Simulator (appium / Chrome)
                {
                    address: "localhost",
                    port: 4723,
                    capability: {
                        device: "Android",
                        app: "chrome"
                    }
                },
                // for iPhone Simulator (appium / Mobile Safari)
                {
                    address: "localhost",
                    port: 4723,
                    capability: {
                        device: "iPhone Simulator",
                        version: "6.0",
                        app: "safari"
                    }
                },
                // for iPhone Device (appium / Mobile Safari)
                {
                    address: "localhost",
                    port: 4723,
                    capability: {
                        device: "iPhone",
                        app: "safari"
                    }
                },
            ],
        }
    }
}

Package Sidebar

Install

npm i grunt-buster-remotewebdriver

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • zentoo