{"action":"closed","number":317,"pull_request":{"url":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/317","id":25114264,"html_url":"https://github.com/nightwatchjs/nightwatch/pull/317","diff_url":"https://github.com/nightwatchjs/nightwatch/pull/317.diff","patch_url":"https://github.com/nightwatchjs/nightwatch/pull/317.patch","issue_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/317","number":317,"state":"closed","locked":false,"title":"Allow running individual test files in parallel via test workers","user":{"login":"david-martin","id":878251,"avatar_url":"https://avatars.githubusercontent.com/u/878251?v=3","gravatar_id":"","url":"https://api.github.com/users/david-martin","html_url":"https://github.com/david-martin","followers_url":"https://api.github.com/users/david-martin/followers","following_url":"https://api.github.com/users/david-martin/following{/other_user}","gists_url":"https://api.github.com/users/david-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/david-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-martin/subscriptions","organizations_url":"https://api.github.com/users/david-martin/orgs","repos_url":"https://api.github.com/users/david-martin/repos","events_url":"https://api.github.com/users/david-martin/events{/privacy}","received_events_url":"https://api.github.com/users/david-martin/received_events","type":"User","site_admin":false},"body":"Added a new top level config to nightwatch.json,\r\n\r\ndefaults to being disabled, i.e. behaves as nightwatch currently does:\r\n```json\r\n  \"testWorkers\": {}\r\n```\r\n\r\nIf testWorkers are enabled, a second option can be specified, with a default value of \"auto\":\r\n```json\r\n  \"testWorkers\": {\r\n    \"enabled\": true,\r\n    \"workers\": \"auto\"\r\n  }\r\n```\r\n\r\nThis `workers` option configures how many nightwatch workers can run concurrently.\r\n* \"auto\" - determined by number of CPUs e.g. 4 CPUs means 4 workers\r\n* <number> - specifies an exact number of workers\r\n\r\nIf workers are enabled, the nightwatch cli process that is invoked initially does not run any tests.\r\nInstead, it runs nightwatch sub-processes, reporting back on results as tests finish.\r\n\r\nTest concurrency is done at the file level. Each test file will fill a test worker slot. Individual tests/steps in a test file will not run concurrently.\r\n","created_at":"2014-11-26T21:13:35Z","updated_at":"2015-07-15T10:50:29Z","closed_at":"2015-07-15T10:50:29Z","merged_at":null,"merge_commit_sha":"3565e3099894cce425d6fe6ec257ad4c634ba44f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/317/commits","review_comments_url":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/317/comments","review_comment_url":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/317/comments","statuses_url":"https://api.github.com/repos/nightwatchjs/nightwatch/statuses/f2caf43ec52adc32294b91f22490b030cd11c383","head":{"label":"feedhenry:concurrent-test-workers","ref":"concurrent-test-workers","sha":"f2caf43ec52adc32294b91f22490b030cd11c383","user":{"login":"feedhenry","id":772226,"avatar_url":"https://avatars.githubusercontent.com/u/772226?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry","html_url":"https://github.com/feedhenry","followers_url":"https://api.github.com/users/feedhenry/followers","following_url":"https://api.github.com/users/feedhenry/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry/subscriptions","organizations_url":"https://api.github.com/users/feedhenry/orgs","repos_url":"https://api.github.com/users/feedhenry/repos","events_url":"https://api.github.com/users/feedhenry/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry/received_events","type":"Organization","site_admin":false},"repo":{"id":26536288,"name":"nightwatch","full_name":"feedhenry/nightwatch","owner":{"login":"feedhenry","id":772226,"avatar_url":"https://avatars.githubusercontent.com/u/772226?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry","html_url":"https://github.com/feedhenry","followers_url":"https://api.github.com/users/feedhenry/followers","following_url":"https://api.github.com/users/feedhenry/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry/subscriptions","organizations_url":"https://api.github.com/users/feedhenry/orgs","repos_url":"https://api.github.com/users/feedhenry/repos","events_url":"https://api.github.com/users/feedhenry/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feedhenry/nightwatch","description":"UI automated testing framework based on node.js and selenium webdriver","fork":true,"url":"https://api.github.com/repos/feedhenry/nightwatch","forks_url":"https://api.github.com/repos/feedhenry/nightwatch/forks","keys_url":"https://api.github.com/repos/feedhenry/nightwatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feedhenry/nightwatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feedhenry/nightwatch/teams","hooks_url":"https://api.github.com/repos/feedhenry/nightwatch/hooks","issue_events_url":"https://api.github.com/repos/feedhenry/nightwatch/issues/events{/number}","events_url":"https://api.github.com/repos/feedhenry/nightwatch/events","assignees_url":"https://api.github.com/repos/feedhenry/nightwatch/assignees{/user}","branches_url":"https://api.github.com/repos/feedhenry/nightwatch/branches{/branch}","tags_url":"https://api.github.com/repos/feedhenry/nightwatch/tags","blobs_url":"https://api.github.com/repos/feedhenry/nightwatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feedhenry/nightwatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feedhenry/nightwatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/feedhenry/nightwatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feedhenry/nightwatch/statuses/{sha}","languages_url":"https://api.github.com/repos/feedhenry/nightwatch/languages","stargazers_url":"https://api.github.com/repos/feedhenry/nightwatch/stargazers","contributors_url":"https://api.github.com/repos/feedhenry/nightwatch/contributors","subscribers_url":"https://api.github.com/repos/feedhenry/nightwatch/subscribers","subscription_url":"https://api.github.com/repos/feedhenry/nightwatch/subscription","commits_url":"https://api.github.com/repos/feedhenry/nightwatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/feedhenry/nightwatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/feedhenry/nightwatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/feedhenry/nightwatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/feedhenry/nightwatch/contents/{+path}","compare_url":"https://api.github.com/repos/feedhenry/nightwatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feedhenry/nightwatch/merges","archive_url":"https://api.github.com/repos/feedhenry/nightwatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feedhenry/nightwatch/downloads","issues_url":"https://api.github.com/repos/feedhenry/nightwatch/issues{/number}","pulls_url":"https://api.github.com/repos/feedhenry/nightwatch/pulls{/number}","milestones_url":"https://api.github.com/repos/feedhenry/nightwatch/milestones{/number}","notifications_url":"https://api.github.com/repos/feedhenry/nightwatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feedhenry/nightwatch/labels{/name}","releases_url":"https://api.github.com/repos/feedhenry/nightwatch/releases{/id}","created_at":"2014-11-12T13:07:00Z","updated_at":"2015-03-12T10:22:50Z","pushed_at":"2015-04-05T08:46:11Z","git_url":"git://github.com/feedhenry/nightwatch.git","ssh_url":"git@github.com:feedhenry/nightwatch.git","clone_url":"https://github.com/feedhenry/nightwatch.git","svn_url":"https://github.com/feedhenry/nightwatch","homepage":"http://nightwatchjs.org","size":45720,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"nightwatchjs:master","ref":"master","sha":"0e6fbbff587ee7378e53dddb3af743de6b630a6e","user":{"login":"nightwatchjs","id":12559275,"avatar_url":"https://avatars.githubusercontent.com/u/12559275?v=3","gravatar_id":"","url":"https://api.github.com/users/nightwatchjs","html_url":"https://github.com/nightwatchjs","followers_url":"https://api.github.com/users/nightwatchjs/followers","following_url":"https://api.github.com/users/nightwatchjs/following{/other_user}","gists_url":"https://api.github.com/users/nightwatchjs/gists{/gist_id}","starred_url":"https://api.github.com/users/nightwatchjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightwatchjs/subscriptions","organizations_url":"https://api.github.com/users/nightwatchjs/orgs","repos_url":"https://api.github.com/users/nightwatchjs/repos","events_url":"https://api.github.com/users/nightwatchjs/events{/privacy}","received_events_url":"https://api.github.com/users/nightwatchjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3750921,"name":"nightwatch","full_name":"nightwatchjs/nightwatch","owner":{"login":"nightwatchjs","id":12559275,"avatar_url":"https://avatars.githubusercontent.com/u/12559275?v=3","gravatar_id":"","url":"https://api.github.com/users/nightwatchjs","html_url":"https://github.com/nightwatchjs","followers_url":"https://api.github.com/users/nightwatchjs/followers","following_url":"https://api.github.com/users/nightwatchjs/following{/other_user}","gists_url":"https://api.github.com/users/nightwatchjs/gists{/gist_id}","starred_url":"https://api.github.com/users/nightwatchjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nightwatchjs/subscriptions","organizations_url":"https://api.github.com/users/nightwatchjs/orgs","repos_url":"https://api.github.com/users/nightwatchjs/repos","events_url":"https://api.github.com/users/nightwatchjs/events{/privacy}","received_events_url":"https://api.github.com/users/nightwatchjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nightwatchjs/nightwatch","description":"Automated testing and continous integration framework based on node.js and selenium webdriver","fork":false,"url":"https://api.github.com/repos/nightwatchjs/nightwatch","forks_url":"https://api.github.com/repos/nightwatchjs/nightwatch/forks","keys_url":"https://api.github.com/repos/nightwatchjs/nightwatch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nightwatchjs/nightwatch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nightwatchjs/nightwatch/teams","hooks_url":"https://api.github.com/repos/nightwatchjs/nightwatch/hooks","issue_events_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/events{/number}","events_url":"https://api.github.com/repos/nightwatchjs/nightwatch/events","assignees_url":"https://api.github.com/repos/nightwatchjs/nightwatch/assignees{/user}","branches_url":"https://api.github.com/repos/nightwatchjs/nightwatch/branches{/branch}","tags_url":"https://api.github.com/repos/nightwatchjs/nightwatch/tags","blobs_url":"https://api.github.com/repos/nightwatchjs/nightwatch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nightwatchjs/nightwatch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nightwatchjs/nightwatch/git/refs{/sha}","trees_url":"https://api.github.com/repos/nightwatchjs/nightwatch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nightwatchjs/nightwatch/statuses/{sha}","languages_url":"https://api.github.com/repos/nightwatchjs/nightwatch/languages","stargazers_url":"https://api.github.com/repos/nightwatchjs/nightwatch/stargazers","contributors_url":"https://api.github.com/repos/nightwatchjs/nightwatch/contributors","subscribers_url":"https://api.github.com/repos/nightwatchjs/nightwatch/subscribers","subscription_url":"https://api.github.com/repos/nightwatchjs/nightwatch/subscription","commits_url":"https://api.github.com/repos/nightwatchjs/nightwatch/commits{/sha}","git_commits_url":"https://api.github.com/repos/nightwatchjs/nightwatch/git/commits{/sha}","comments_url":"https://api.github.com/repos/nightwatchjs/nightwatch/comments{/number}","issue_comment_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/comments{/number}","contents_url":"https://api.github.com/repos/nightwatchjs/nightwatch/contents/{+path}","compare_url":"https://api.github.com/repos/nightwatchjs/nightwatch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nightwatchjs/nightwatch/merges","archive_url":"https://api.github.com/repos/nightwatchjs/nightwatch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nightwatchjs/nightwatch/downloads","issues_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues{/number}","pulls_url":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls{/number}","milestones_url":"https://api.github.com/repos/nightwatchjs/nightwatch/milestones{/number}","notifications_url":"https://api.github.com/repos/nightwatchjs/nightwatch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nightwatchjs/nightwatch/labels{/name}","releases_url":"https://api.github.com/repos/nightwatchjs/nightwatch/releases{/id}","created_at":"2012-03-17T21:28:18Z","updated_at":"2015-07-14T13:40:07Z","pushed_at":"2015-07-12T18:37:34Z","git_url":"git://github.com/nightwatchjs/nightwatch.git","ssh_url":"git@github.com:nightwatchjs/nightwatch.git","clone_url":"https://github.com/nightwatchjs/nightwatch.git","svn_url":"https://github.com/nightwatchjs/nightwatch","homepage":"http://nightwatchjs.org","size":49099,"stargazers_count":3025,"watchers_count":3025,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":247,"mirror_url":null,"open_issues_count":74,"forks":247,"open_issues":74,"watchers":3025,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/317"},"html":{"href":"https://github.com/nightwatchjs/nightwatch/pull/317"},"issue":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/317"},"comments":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/317/comments"},"review_comments":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/317/comments"},"review_comment":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/pulls/317/commits"},"statuses":{"href":"https://api.github.com/repos/nightwatchjs/nightwatch/statuses/f2caf43ec52adc32294b91f22490b030cd11c383"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":11,"review_comments":4,"commits":1,"additions":204,"deletions":5,"changed_files":4}}