{"_id":"grunt-webdriver-qunit","_rev":"30-7b303b2ba8327832ad02c27e11a89385","name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","dist-tags":{"latest":"0.2.6"},"versions":{"0.0.1":{"name":"grunt-webdriver-qunit","description":"run qunit with webdriver","version":"0.0.1","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt webdriver selenium qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserName: '<browser_name>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserName\nType: `String`\nDefault value: `phantomjs`\n\nThe browser name, the value is one of phantomjs, chrome, firefix, ie, safari\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: 'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar',\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    phantomjs: {\n      options: {\n        browserName: 'phantomjs',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    chrome: {\n      options: {\n        browserName: 'chrome',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    firefox: {\n      options: {\n        browserName: 'firefox',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadTasks('tasks');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-06-29 v0.0.1 initial the first version.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.0.1","dist":{"shasum":"7e5c62c4c6c3bbf1085ef1da2ea35a6a3520c921","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.0.1.tgz","integrity":"sha512-iqjZzgWnDPK7QmEFusQQC1xL3CJhoRc3WtdxjdEVkDQoXmVMexAQ3DExmoJp8OKAdTMfvPipB2LgFgKzoXiz+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFn6up+kr9NhlbSskTcc4ZcbWJaQ3szKCPfoFASovmgAAiAPDQSfj+McJMLCC27VljsYi2ZpyNOpdAePa5LwNR9FMg=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.0.2":{"name":"grunt-webdriver-qunit","description":"run qunit with webdriver","version":"0.0.2","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt webdriver selenium qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserName: '<browser_name>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserName\nType: `String`\nDefault value: `phantomjs`\n\nThe browser name, the value is one of phantomjs, chrome, firefix, ie, safari\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: 'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar',\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    phantomjs: {\n      options: {\n        browserName: 'phantomjs',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    chrome: {\n      options: {\n        browserName: 'chrome',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    firefox: {\n      options: {\n        browserName: 'firefox',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadTasks('tasks');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-06-29 v0.0.1 initial the first version.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.0.2","dist":{"shasum":"64956a43971aee6d5d6348ddb8a57422b1c1091f","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.0.2.tgz","integrity":"sha512-5YMV2aZzP43DUcAeX0sWiQFgxsT2ShYGXOrZZ5uOukNZTamAFn+/5eoiUFIGzcdjMQ9CGQ9QFQa7ZHMeEySVKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjSEGCrUmr0Pnqa5MnAEIZlymIlweubRUAmsHUYRlMIQIhAIs/oxOfHSp1i5XDqg7EvsAgbAItja2R7tLD0Cf99r3+"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.0.3":{"name":"grunt-webdriver-qunit","description":"run qunit with webdriver","version":"0.0.3","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt webdriver selenium qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserName: '<browser_name>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserName\nType: `String`\nDefault value: `phantomjs`\n\nThe browser name, the value is one of phantomjs, chrome, firefix, ie, safari\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: 'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar',\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    phantomjs: {\n      options: {\n        browserName: 'phantomjs',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    chrome: {\n      options: {\n        browserName: 'chrome',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    firefox: {\n      options: {\n        browserName: 'firefox',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadTasks('tasks');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-06-29 v0.0.1 initial the first version.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.0.3","dist":{"shasum":"65462f603523b314b8dc44e0033a356be14947d5","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.0.3.tgz","integrity":"sha512-DtRmY2Zp2MZ8aXmwY3gHfbW4eOg7k2TBImy5tk4DCN8qg7FuuLEPiVLikIdRIGYwSvk7aYlz8liJqO7ajxh6Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFq7jnEyjHsDzW2Ui6FYaNeJgapDkrQasGCYeaqswZk8AiEA5jZfXJGZtcUxDLg/4AXet7Zz+0fuRFbK+MpLhRHmHJY="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.0.4":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.0.4","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserName: '<browser_name>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserName\nType: `String`\nDefault value: `phantomjs`\n\nThe browser name, the value is one of phantomjs, chrome, firefix, ie, safari\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: 'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar',\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    phantomjs: {\n      options: {\n        browserName: 'phantomjs',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    chrome: {\n      options: {\n        browserName: 'chrome',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n    firefox: {\n      options: {\n        browserName: 'firefox',\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadTasks('tasks');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-06-29 v0.0.1 initial the first version.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.0.4","dist":{"shasum":"a8903937f63baa2ebe17db89b3421a865aee83ea","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.0.4.tgz","integrity":"sha512-LoMI+25vt1pgJoAbAFRHqPeR7UiXd8ztOUpDP41cD84UmqjjX/PolxnGPVtQ3C4TGZFDHP44x+btrn21nZI8jA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPmljcJgY3f6yz6l5p/RPNh9OjUrOmvb0Pbu4ye15EbgIgUpKeuqvVaqLpgVF+y+yA2RNTdaRc/MLFurNCMPk5OS8="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.1.0":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.1.0","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserNames: '<browser_names>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: 'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar',\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadTasks('tasks');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.1.0","dist":{"shasum":"ee913f0f862a17f7dc2a00197d4c0a81dc6ad43a","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.1.0.tgz","integrity":"sha512-OMBgVOBgyeBNZoV2fIi8w4TQQvZJvUisC2GRDFrN4gjdF1A7CrQUKyLaGKWBcw11sPBjRGS5y0jWep9YBOwsIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpDMxas42v2b3iWCbxQ3SU/ALcz1zvV6fnCsQ7NiQ8ywIgCACq13iev/XZ2fgHVDUT1QJHRlQ9zZwYqrhQs9e2QRY="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.1.1":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.1.1","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserNames: '<browser_names>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: 'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar',\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadTasks('tasks');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.1.1","dist":{"shasum":"f5a51a274b81eae3133e3262a0d6bc0997098d39","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.1.1.tgz","integrity":"sha512-MVdW4+YUYam7WJXFQ9MM6qpm5r2F5iM0lW1TKh9v+VUwOSYcdg//rahzAfpNrooywJU5BZ6IWaSniIGtfxEZiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBkF/cOActXOJYa2xWzMo81tvDDTyfwn1Vb3DJzc4e2nAiBQU/s0co8eo67+xmUuDNYyj1scT0WsXERWBS1HtjxWXA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.1.2":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.1.2","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","webdriverjs":"~0.7.8","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    firefox: {\n      browserNames: '<browser_names>',\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.1.2","dist":{"shasum":"12eeffef4ddf6135dfe1615f6ea9b764324e8c91","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.1.2.tgz","integrity":"sha512-93IOvWlySOvG35RCIU3eElqqbazAlmCuCsAfYuv675a0//gq4YK/00fhxWgAmYJwbeZoDc+Rap6PaRhfHU+dNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpfHEl9wyIpp6GtX3PoE4ydoiaQs5jzO8ZvqsJHNbNpAiEA36gHwk07+T+5zUXRgwSxbr2o8rszYVxasR+aFARPrI0="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.0":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.0","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-connect":"~0.3.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.33.0","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/webdriverjs/bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    options: {\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n      seleniumUrl: '<selenium_url>',\n    },\n    firefox: {\n      options: {\n        browserNames: '<browser_names>',\n      }\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n#### options.seleniumUrl\nType: `String`\nDefault value: `http://localhost:4444/wd/hub`. \nIf webdriver_start given, this option ignore, will using the local selenium to testing.\nOtherwise, will using the external selenium to testing.\n\nThe selenium url.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-09-28 v0.2.0 add support external selenium.\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.0","dist":{"shasum":"54b4a964a6c02cdd66f0286d526029644936f765","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.0.tgz","integrity":"sha512-0JxQzk+s6+Jk4Ebl62DIteDiccsoOe/0kU2ElpnLm38eUp8nv+kGwbQsqfUF3USmqGX+RD8RN77wrsy6AjCrcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEDFJEwGCevJ6k54gbWsuG1kq9768lJbzgTC3RdqhaHCAiB+7+iaUiWS7HAnHl2dg30Qbs+7t2Si2T87RM+HPprNCQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.1":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.1","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","grunt-contrib-clean":"~0.5.0","grunt-contrib-connect":"~0.5.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.35.2","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/.bin/selenium-server-standalone-2.31.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    options: {\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n      seleniumUrl: '<selenium_url>',\n    },\n    firefox: {\n      options: {\n        browserNames: '<browser_names>',\n      }\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n#### options.seleniumUrl\nType: `String`\nDefault value: `http://localhost:4444/wd/hub`. \nIf webdriver_start given, this option ignore, will using the local selenium to testing.\nOtherwise, will using the external selenium to testing.\n\nThe selenium url.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\n* 2013-09-28 v0.2.0 add support external selenium.\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.1","dist":{"shasum":"3e60dd74ed828c1fe62fa747991da7d62c9f8402","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.1.tgz","integrity":"sha512-7nPYQv/fW1Cjlo1yAoUwXxrhM49dD37X2fTzb+Dzc+eLK72S7NvkdjXoHVTM1XtZytVydBcMjFKJblE367OyJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTztiqtZlarh/1PE1fwV2QOBhvMIOuYRpdhyVwXHJvJgIhAJFwtFbV96+XRjwnkVGI4P5jBC6HndWs2btd2D9XsyU0"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.2":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.2","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","grunt-contrib-clean":"~0.5.0","grunt-contrib-connect":"~0.5.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.35.2","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/.bin/selenium-server-standalone-2.35.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    options: {\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n      seleniumUrl: '<selenium_url>',\n    },\n    firefox: {\n      options: {\n        browserNames: '<browser_names>',\n      }\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n#### options.seleniumUrl\nType: `String`\nDefault value: `http://localhost:4444/wd/hub`. \nIf webdriver_start given, this option ignore, will using the local selenium to testing.\nOtherwise, will using the external selenium to testing.\n\nThe selenium url.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-09-28 v0.2.2 update selenium default jar path.\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\n* 2013-09-28 v0.2.0 add support external selenium.\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.2","dist":{"shasum":"acb7dca9d7b3fbdbad5dbe71ac891be13769060b","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.2.tgz","integrity":"sha512-zEzkTzeesb7QnHqO/RHjV3QtaV4Q8eN8D2wqMnVs2fg7LiHPjDvXuE2DTBC1cS4vQ5PjT2KuXMqJ1XU23OOsWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBu3AcbxuaFcQ4qxmkn6Jnxj8vxlzyjENOgVuM5yW7t5AiByRt4jB4h9XIq4CwZ3TIq8rC+sdDLdHVHDuB2DNP7sJQ=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.3":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.3","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","grunt-contrib-clean":"~0.5.0","grunt-contrib-connect":"~0.5.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.35.2","async":"~0.2.9"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `'node_modules/.bin/selenium-server-standalone-2.35.0.jar'`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    options: {\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n      seleniumUrl: '<selenium_url>',\n    },\n    firefox: {\n      options: {\n        browserNames: '<browser_names>',\n      }\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n#### options.seleniumUrl\nType: `String`\nDefault value: `http://localhost:4444/wd/hub`. \nIf webdriver_start given, this option ignore, will using the local selenium to testing.\nOtherwise, will using the external selenium to testing.\n\nThe selenium url.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-09-28 v0.2.3 support selenium grid.\n* 2013-09-28 v0.2.2 update selenium default jar path.\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\n* 2013-09-28 v0.2.0 add support external selenium.\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.3","dist":{"shasum":"972e3541673935332a59f30f7c806c89a76ec9fb","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.3.tgz","integrity":"sha512-1MtPd/LKDt6UWw0FZmtQ6FNRLD8snzXFSOVbce56CLSl0vDuOw6WBJ8Gl6n/4J4C6hs69MiwNvJyYzC+1m3clg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFf55ITcnslGKpkNsvBOvKdsOsQRP32Ogh0FQs8Ky5PQAiEAuXcFV10YRiSXTmhDp9hWY5WXZGgDpLVhq2Z8mnEKbns="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.4":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.4","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"install":"node install.js","test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","grunt-contrib-clean":"~0.5.0","grunt-contrib-connect":"~0.5.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.35.2","async":"~0.2.9","kew":"~0.2.2","url":"~0.7.9","npmconf":"~0.1.3"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `null`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    options: {\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n      seleniumUrl: '<selenium_url>',\n    },\n    firefox: {\n      options: {\n        browserNames: '<browser_names>',\n      }\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n#### options.seleniumUrl\nType: `String`\nDefault value: `http://localhost:4444/wd/hub`. \nIf webdriver_start given, this option ignore, will using the local selenium to testing.\nOtherwise, will using the external selenium to testing.\n\nThe selenium url.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-10-12 v0.2.4 auto download selenium when install this plugin.\n* 2013-09-28 v0.2.3 support selenium grid.\n* 2013-09-28 v0.2.2 update selenium default jar path.\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\n* 2013-09-28 v0.2.0 add support external selenium.\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.4","dist":{"shasum":"6fbfe5734cf0f0da8190dccf7b78ba29a4d452f8","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.4.tgz","integrity":"sha512-EZ3TqIRc+oXPnmeYKUUVLhlWlLJyLOeq626DiS3nBxrjIcQhKRofXzmkTlZO9os7DVSq+UJXa4eO45IDRL8BSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHVe4OB41J9BEoVvQ5qB6Wv+6AAFYprosDFzPnQQGznQIgRnBfDNqBJNSWEKsKlQ/zlrSZppBxMNJkMPZFbEN65ds="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.5":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.5","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"install":"node install.js","test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","grunt-contrib-clean":"~0.5.0","grunt-contrib-connect":"~0.5.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.35.2","async":"~0.2.9","kew":"~0.2.2","url":"~0.7.9","npmconf":"~0.1.3"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\n\n> run qunit with webdriver on grunt\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-webdriver-qunit --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\n```\n\n## The \"webdriver_start\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      jar: '<selenium_jar_path>',\n      port: '<selenium_port>',\n      jvmArgs: '<jvm_args>',\n      args: '<java_args>',\n      env: '<environment>'\n      stdio: '<stdio>'\n    }\n    },\n})\n```\n\n### Options\n\n#### options.jar\nType: `String`\nDefault value: `null`\n\nThe path of selenium server standalone jar.\n\n#### options.port\nType: `Integer`\nDefault value: `4444`\n\nThe port of selenium server standalone.\n\n#### options.jvmArgs\nType: `String`\nDefault value: `null`\n\nThe jvm arguments.\n\n#### options.args\nType: `String`\nDefault value: `null`\n\nThe java arguments.\n\n#### options.env\nType: `String`\nDefault value: `null`\n\nThe environment arguments.\n\n#### options.stdio\nType: `String`\nDefault value: `null`\n\n\n## The \"webdriver_qunit\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  webdriver_qunit: {\n    options: {\n      reportsDir: '<reports_directory>',\n      qunitJson: '<qunit_config>',\n      baseUrl: '<base_url>',\n      seleniumUrl: '<selenium_url>',\n    },\n    firefox: {\n      options: {\n        browserNames: '<browser_names>',\n      }\n    },\n  },\n})\n```\n#### options.browserNames\nType: `Array`\nDefault value: `['phantomjs']`\n\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\n\n#### options.reportsDir\nType: `String`\nDefault value: `target/surefire-reports`\n\nThe reports directory.\n\n#### options.qunitJson\nType: `String`\nDefault value: `null`\n\nThe configuration file of qunit.\n\n#### options.baseUrl\nType: `String`\nDefault value: `null`\n\nThe base url of tests.\n\n#### options.seleniumUrl\nType: `String`\nDefault value: `http://localhost:4444/wd/hub`. \nIf webdriver_start given, this option ignore, will using the local selenium to testing.\nOtherwise, will using the external selenium to testing.\n\nThe selenium url.\n\n### Usage Examples\n\nIn this example, first start selenium server, then run qunit testing with webdriver. \nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\n\n```js\n#Gruntfile.js\ngrunt.initConfig({\n  webdriver_start: {\n    options : {\n      port: '4444',\n    }\n  },\n  webdriver_qunit: {\n    linux: {\n      options: {\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\n        reportsDir: 'target/surefire-reports',\n        qunitJson: '../test/qunit.json',\n        baseUrl: 'http://localhost:8000',\n      }\n    },\n  },\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\n})\n```\n\n```js\n#qunit.json\n{\n  \"baseUrl\" : \"http://localhost\",\n  \"waitSeconds\" : 10,\n  \"tests\" : [{\n    \"path\" : \"/test/index.html\",\n    \"waitSeconds\" : 20\n  }]\n}\n```\n\n## Contributing\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n* 2013-10-12 v0.2.5 fix the download selenium bug.\n* 2013-10-12 v0.2.4 auto download selenium when install this plugin.\n* 2013-09-28 v0.2.3 support selenium grid.\n* 2013-09-28 v0.2.2 update selenium default jar path.\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\n* 2013-09-28 v0.2.0 add support external selenium.\n* 2013-07-05 v0.1.2 fix bug about timeout.\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\n* 2013-06-29 v0.0.4 initial this project.\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.5","dist":{"shasum":"a855c161060f6d58aa7c03d9f6ce6595ceda63fd","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.5.tgz","integrity":"sha512-aUtvlO7QUyf5a575rApMcHT4/zArSbu/jRcDE9stezJ3MxkHFU20GGjB0TWatSCK2AcDgI90nYLNSXHkz84Okg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXVho4qlxto5pN9t9p6gAe7HM3p8WT0pyyUp9mf1hTPAiEAoV/2NY5wtR8UWcRMvELhbtqiwBsF8kGwIOhff8NUOmM="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"directories":{}},"0.2.6":{"name":"grunt-webdriver-qunit","description":"grunt-webdriver-qunit is a grunt plugin to run qunit with webdriver in grunt","version":"0.2.6","homepage":"https://github.com/bulain/grunt-webdriver-qunit","author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"},"bugs":{"url":"https://github.com/bulain/grunt-webdriver-qunit/issues"},"licenses":[{"type":"MIT","url":"https://github.com/bulain/grunt-webdriver-qunit/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"install":"node install.js","test":"grunt test"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-jshint":"~0.6.4","grunt-contrib-clean":"~0.5.0","grunt-contrib-connect":"~0.5.0","grunt-curl":"~1.1.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["grunt","webdriver","selenium","qunit"],"dependencies":{"selenium-webdriver":"~2.39.0","async":"~0.2.9","kew":"~0.2.2","url":"~0.7.9","npmconf":"~0.1.3"},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\r\n\r\n> run qunit with webdriver on grunt\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `~0.4.1`\r\n\r\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-webdriver-qunit --save-dev\r\n```\r\n\r\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\r\n```\r\n\r\n## The \"webdriver_start\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  webdriver_start: {\r\n    options : {\r\n      jar: '<selenium_jar_path>',\r\n      port: '<selenium_port>',\r\n      jvmArgs: '<jvm_args>',\r\n      args: '<java_args>',\r\n      env: '<environment>'\r\n      stdio: '<stdio>'\r\n    }\r\n    },\r\n})\r\n```\r\n\r\n### Options\r\n\r\n#### options.jar\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe path of selenium server standalone jar.\r\n\r\n#### options.port\r\nType: `Integer`\r\nDefault value: `4444`\r\n\r\nThe port of selenium server standalone.\r\n\r\n#### options.jvmArgs\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe jvm arguments.\r\n\r\n#### options.args\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe java arguments.\r\n\r\n#### options.env\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe environment arguments.\r\n\r\n#### options.stdio\r\nType: `String`\r\nDefault value: `null`\r\n\r\n\r\n## The \"webdriver_qunit\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  webdriver_qunit: {\r\n    options: {\r\n      reportsDir: '<reports_directory>',\r\n      qunitJson: '<qunit_config>',\r\n      baseUrl: '<base_url>',\r\n      seleniumUrl: '<selenium_url>',\r\n    },\r\n    firefox: {\r\n      options: {\r\n        browserNames: '<browser_names>',\r\n      }\r\n    },\r\n  },\r\n})\r\n```\r\n#### options.browserNames\r\nType: `Array`\r\nDefault value: `['phantomjs']`\r\n\r\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\r\n\r\n#### options.reportsDir\r\nType: `String`\r\nDefault value: `target/surefire-reports`\r\n\r\nThe reports directory.\r\n\r\n#### options.qunitJson\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe configuration file of qunit.\r\n\r\n#### options.baseUrl\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe base url of tests.\r\n\r\n#### options.seleniumUrl\r\nType: `String`\r\nDefault value: `http://localhost:4444/wd/hub`. \r\nIf webdriver_start given, this option ignore, will using the local selenium to testing.\r\nOtherwise, will using the external selenium to testing.\r\n\r\nThe selenium url.\r\n\r\n### Usage Examples\r\n\r\nIn this example, first start selenium server, then run qunit testing with webdriver. \r\nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\r\n\r\n```js\r\n#Gruntfile.js\r\ngrunt.initConfig({\r\n  webdriver_start: {\r\n    options : {\r\n      port: '4444',\r\n    }\r\n  },\r\n  webdriver_qunit: {\r\n    linux: {\r\n      options: {\r\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\r\n        reportsDir: 'target/surefire-reports',\r\n        qunitJson: '../test/qunit.json',\r\n        baseUrl: 'http://localhost:8000',\r\n      }\r\n    },\r\n  },\r\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\r\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\r\n})\r\n```\r\n\r\n```js\r\n#qunit.json\r\n{\r\n  \"baseUrl\" : \"http://localhost\",\r\n  \"waitSeconds\" : 10,\r\n  \"tests\" : [{\r\n    \"path\" : \"/test/index.html\",\r\n    \"waitSeconds\" : 20\r\n  }]\r\n}\r\n```\r\n\r\n## Contributing\r\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\r\n\r\n## Release History\r\n* 2013-10-12 v0.2.5 fix the download selenium bug.\r\n* 2013-10-12 v0.2.4 auto download selenium when install this plugin.\r\n* 2013-09-28 v0.2.3 support selenium grid.\r\n* 2013-09-28 v0.2.2 update selenium default jar path.\r\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\r\n* 2013-09-28 v0.2.0 add support external selenium.\r\n* 2013-07-05 v0.1.2 fix bug about timeout.\r\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\r\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\r\n* 2013-06-29 v0.0.4 initial this project.\r\n","readmeFilename":"README.md","_id":"grunt-webdriver-qunit@0.2.6","dist":{"shasum":"5b5930f4cfc4a3108851afb551581752b7ab43fb","tarball":"https://registry.npmjs.org/grunt-webdriver-qunit/-/grunt-webdriver-qunit-0.2.6.tgz","integrity":"sha512-wL1d+FQl+QOxFhYyQqXgJ1vO039ccjdoCJ7dt57wNQdiJlwV/B4ATH0ZmFJDgAJkF4IlvsaEVEA6k0DMgVsGPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvIPoLc1XbsSg1ZLNVkKY8h21ssh1Az6+LDIcgXY6vdwIgTBlfgwxLm9qCtoBd0Cx/UfPV8jlXXCICy1DOSz5lYWo="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"bulain","email":"bulain@gmail.com"},"maintainers":[{"name":"bulain","email":"bulain@gmail.com"}]}},"readme":"# grunt-webdriver-qunit [![Build Status](https://travis-ci.org/bulain/grunt-webdriver-qunit.png?branch=master)](https://travis-ci.org/bulain/grunt-webdriver-qunit)\r\n\r\n> run qunit with webdriver on grunt\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `~0.4.1`\r\n\r\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-webdriver-qunit --save-dev\r\n```\r\n\r\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-webdriver-qunit');\r\n```\r\n\r\n## The \"webdriver_start\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `webdriver_start` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  webdriver_start: {\r\n    options : {\r\n      jar: '<selenium_jar_path>',\r\n      port: '<selenium_port>',\r\n      jvmArgs: '<jvm_args>',\r\n      args: '<java_args>',\r\n      env: '<environment>'\r\n      stdio: '<stdio>'\r\n    }\r\n    },\r\n})\r\n```\r\n\r\n### Options\r\n\r\n#### options.jar\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe path of selenium server standalone jar.\r\n\r\n#### options.port\r\nType: `Integer`\r\nDefault value: `4444`\r\n\r\nThe port of selenium server standalone.\r\n\r\n#### options.jvmArgs\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe jvm arguments.\r\n\r\n#### options.args\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe java arguments.\r\n\r\n#### options.env\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe environment arguments.\r\n\r\n#### options.stdio\r\nType: `String`\r\nDefault value: `null`\r\n\r\n\r\n## The \"webdriver_qunit\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `webdriver_qunit` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  webdriver_qunit: {\r\n    options: {\r\n      reportsDir: '<reports_directory>',\r\n      qunitJson: '<qunit_config>',\r\n      baseUrl: '<base_url>',\r\n      seleniumUrl: '<selenium_url>',\r\n    },\r\n    firefox: {\r\n      options: {\r\n        browserNames: '<browser_names>',\r\n      }\r\n    },\r\n  },\r\n})\r\n```\r\n#### options.browserNames\r\nType: `Array`\r\nDefault value: `['phantomjs']`\r\n\r\nThe browser names, the value is the array of phantomjs, chrome, firefix, ie, safari.\r\n\r\n#### options.reportsDir\r\nType: `String`\r\nDefault value: `target/surefire-reports`\r\n\r\nThe reports directory.\r\n\r\n#### options.qunitJson\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe configuration file of qunit.\r\n\r\n#### options.baseUrl\r\nType: `String`\r\nDefault value: `null`\r\n\r\nThe base url of tests.\r\n\r\n#### options.seleniumUrl\r\nType: `String`\r\nDefault value: `http://localhost:4444/wd/hub`. \r\nIf webdriver_start given, this option ignore, will using the local selenium to testing.\r\nOtherwise, will using the external selenium to testing.\r\n\r\nThe selenium url.\r\n\r\n### Usage Examples\r\n\r\nIn this example, first start selenium server, then run qunit testing with webdriver. \r\nPlease download chromedriver, phantomjs and IEDriverServer, SafariDriver then put them into PATH.\r\n\r\n```js\r\n#Gruntfile.js\r\ngrunt.initConfig({\r\n  webdriver_start: {\r\n    options : {\r\n      port: '4444',\r\n    }\r\n  },\r\n  webdriver_qunit: {\r\n    linux: {\r\n      options: {\r\n        browserNames: ['phantomjs', 'chrome', 'firefox', 'ie', 'safari'],\r\n        reportsDir: 'target/surefire-reports',\r\n        qunitJson: '../test/qunit.json',\r\n        baseUrl: 'http://localhost:8000',\r\n      }\r\n    },\r\n  },\r\n  grunt.loadNpmTasks('grunt-webdriver-qunit');\r\n  grunt.registerTask('test', ['webdriver_startup', 'webdriver_qunit']);\r\n})\r\n```\r\n\r\n```js\r\n#qunit.json\r\n{\r\n  \"baseUrl\" : \"http://localhost\",\r\n  \"waitSeconds\" : 10,\r\n  \"tests\" : [{\r\n    \"path\" : \"/test/index.html\",\r\n    \"waitSeconds\" : 20\r\n  }]\r\n}\r\n```\r\n\r\n## Contributing\r\nIn lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\r\n\r\n## Release History\r\n* 2013-10-12 v0.2.5 fix the download selenium bug.\r\n* 2013-10-12 v0.2.4 auto download selenium when install this plugin.\r\n* 2013-09-28 v0.2.3 support selenium grid.\r\n* 2013-09-28 v0.2.2 update selenium default jar path.\r\n* 2013-09-28 v0.2.1 fix document and upgrade plugin.\r\n* 2013-09-28 v0.2.0 add support external selenium.\r\n* 2013-07-05 v0.1.2 fix bug about timeout.\r\n* 2013-07-01 v0.1.1 update report path, make them same with test path.\r\n* 2013-07-01 v0.1.0 first release, test pass on linux and windows.\r\n* 2013-06-29 v0.0.4 initial this project.\r\n","maintainers":[{"name":"bulain","email":"bulain@gmail.com"}],"time":{"modified":"2022-06-18T16:17:25.466Z","created":"2013-06-29T06:20:29.539Z","0.0.1":"2013-06-29T06:20:38.989Z","0.0.2":"2013-06-29T07:19:17.377Z","0.0.3":"2013-06-29T07:35:31.768Z","0.0.4":"2013-06-29T07:46:13.389Z","0.1.0":"2013-07-01T10:11:10.517Z","0.1.1":"2013-07-01T13:20:09.388Z","0.1.2":"2013-07-05T08:03:49.602Z","0.2.0":"2013-09-28T04:11:36.692Z","0.2.1":"2013-09-28T04:31:48.237Z","0.2.2":"2013-09-28T04:59:29.773Z","0.2.3":"2013-09-28T15:13:11.347Z","0.2.4":"2013-10-12T03:26:44.022Z","0.2.5":"2013-10-12T03:50:59.695Z","0.2.6":"2014-01-12T14:30:56.211Z"},"author":{"name":"Bulain Peng","email":"bulain@gmail.com"},"repository":{"type":"git","url":"git://github.com/bulain/grunt-webdriver-qunit.git"}}