{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/1","id":80644744,"html_url":"https://github.com/m00t/behat-partial-runner/pull/1","diff_url":"https://github.com/m00t/behat-partial-runner/pull/1.diff","patch_url":"https://github.com/m00t/behat-partial-runner/pull/1.patch","issue_url":"https://api.github.com/repos/m00t/behat-partial-runner/issues/1","number":1,"state":"open","locked":false,"title":"Scenario Outline Parallelizing","user":{"login":"TaysirTayyab","id":13357655,"avatar_url":"https://avatars.githubusercontent.com/u/13357655?v=3","gravatar_id":"","url":"https://api.github.com/users/TaysirTayyab","html_url":"https://github.com/TaysirTayyab","followers_url":"https://api.github.com/users/TaysirTayyab/followers","following_url":"https://api.github.com/users/TaysirTayyab/following{/other_user}","gists_url":"https://api.github.com/users/TaysirTayyab/gists{/gist_id}","starred_url":"https://api.github.com/users/TaysirTayyab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TaysirTayyab/subscriptions","organizations_url":"https://api.github.com/users/TaysirTayyab/orgs","repos_url":"https://api.github.com/users/TaysirTayyab/repos","events_url":"https://api.github.com/users/TaysirTayyab/events{/privacy}","received_events_url":"https://api.github.com/users/TaysirTayyab/received_events","type":"User","site_admin":false},"body":"This PR adds the ability for the partial runner to also distribute Scenario Outlines across workers. This improves the balancing provided a more even distribution of work between workers.\r\n\r\nEach example of Scenario Outline is treated as its own test. So an outline with 3 Example rows on 3 nodes will result in each node executing one Example row. Counting is now done as shown below.\r\n\r\n````Gherkin\r\n# Assume there are 3 workers total\r\n\r\nScenario:                      # worker 1\r\n    Given something exists\r\n    Then I have something\r\n\r\nScenario Outline:\r\n    Given I have <something>\r\n    When I do action with it\r\n\r\n    Examples:\r\n        | something |\r\n        | thing A   |          # worker 2\r\n        | thing B   |          # worker 3\r\n        | thing C   |          # worker 1\r\n        | thing D   |          # worker 2\r\n        | thing E   |          # worker 3\r\n\r\nScenario:                      # worker 1\r\n    When I did that one thing\r\n    Then this other thing happened\r\n```\r\n\r\nThere's also some unit tests added to test this behavior.","created_at":"2016-08-09T15:45:02Z","updated_at":"2016-08-09T15:45:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/1/commits","review_comments_url":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/1/comments","review_comment_url":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/m00t/behat-partial-runner/issues/1/comments","statuses_url":"https://api.github.com/repos/m00t/behat-partial-runner/statuses/271a3c53d8c2e786b0a9d29239b7f501c83ce2fa","head":{"label":"TaysirTayyab:scenario-outline-filtering","ref":"scenario-outline-filtering","sha":"271a3c53d8c2e786b0a9d29239b7f501c83ce2fa","user":{"login":"TaysirTayyab","id":13357655,"avatar_url":"https://avatars.githubusercontent.com/u/13357655?v=3","gravatar_id":"","url":"https://api.github.com/users/TaysirTayyab","html_url":"https://github.com/TaysirTayyab","followers_url":"https://api.github.com/users/TaysirTayyab/followers","following_url":"https://api.github.com/users/TaysirTayyab/following{/other_user}","gists_url":"https://api.github.com/users/TaysirTayyab/gists{/gist_id}","starred_url":"https://api.github.com/users/TaysirTayyab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TaysirTayyab/subscriptions","organizations_url":"https://api.github.com/users/TaysirTayyab/orgs","repos_url":"https://api.github.com/users/TaysirTayyab/repos","events_url":"https://api.github.com/users/TaysirTayyab/events{/privacy}","received_events_url":"https://api.github.com/users/TaysirTayyab/received_events","type":"User","site_admin":false},"repo":{"id":65302303,"name":"behat-partial-runner","full_name":"TaysirTayyab/behat-partial-runner","owner":{"login":"TaysirTayyab","id":13357655,"avatar_url":"https://avatars.githubusercontent.com/u/13357655?v=3","gravatar_id":"","url":"https://api.github.com/users/TaysirTayyab","html_url":"https://github.com/TaysirTayyab","followers_url":"https://api.github.com/users/TaysirTayyab/followers","following_url":"https://api.github.com/users/TaysirTayyab/following{/other_user}","gists_url":"https://api.github.com/users/TaysirTayyab/gists{/gist_id}","starred_url":"https://api.github.com/users/TaysirTayyab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TaysirTayyab/subscriptions","organizations_url":"https://api.github.com/users/TaysirTayyab/orgs","repos_url":"https://api.github.com/users/TaysirTayyab/repos","events_url":"https://api.github.com/users/TaysirTayyab/events{/privacy}","received_events_url":"https://api.github.com/users/TaysirTayyab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TaysirTayyab/behat-partial-runner","description":"Partial Runner for Behat","fork":true,"url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner","forks_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/forks","keys_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/teams","hooks_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/hooks","issue_events_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/issues/events{/number}","events_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/events","assignees_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/assignees{/user}","branches_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/branches{/branch}","tags_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/tags","blobs_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/statuses/{sha}","languages_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/languages","stargazers_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/stargazers","contributors_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/contributors","subscribers_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/subscribers","subscription_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/subscription","commits_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/contents/{+path}","compare_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/merges","archive_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/downloads","issues_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/issues{/number}","pulls_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/pulls{/number}","milestones_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/milestones{/number}","notifications_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/labels{/name}","releases_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/releases{/id}","deployments_url":"https://api.github.com/repos/TaysirTayyab/behat-partial-runner/deployments","created_at":"2016-08-09T14:36:17Z","updated_at":"2016-08-09T14:36:54Z","pushed_at":"2016-08-09T15:35:23Z","git_url":"git://github.com/TaysirTayyab/behat-partial-runner.git","ssh_url":"git@github.com:TaysirTayyab/behat-partial-runner.git","clone_url":"https://github.com/TaysirTayyab/behat-partial-runner.git","svn_url":"https://github.com/TaysirTayyab/behat-partial-runner","homepage":"","size":188,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"m00t:master","ref":"master","sha":"4f3d5f9c1d4abf68ee95ec30f8f4d1fd52ae2cbc","user":{"login":"m00t","id":301661,"avatar_url":"https://avatars.githubusercontent.com/u/301661?v=3","gravatar_id":"","url":"https://api.github.com/users/m00t","html_url":"https://github.com/m00t","followers_url":"https://api.github.com/users/m00t/followers","following_url":"https://api.github.com/users/m00t/following{/other_user}","gists_url":"https://api.github.com/users/m00t/gists{/gist_id}","starred_url":"https://api.github.com/users/m00t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m00t/subscriptions","organizations_url":"https://api.github.com/users/m00t/orgs","repos_url":"https://api.github.com/users/m00t/repos","events_url":"https://api.github.com/users/m00t/events{/privacy}","received_events_url":"https://api.github.com/users/m00t/received_events","type":"User","site_admin":false},"repo":{"id":16509121,"name":"behat-partial-runner","full_name":"m00t/behat-partial-runner","owner":{"login":"m00t","id":301661,"avatar_url":"https://avatars.githubusercontent.com/u/301661?v=3","gravatar_id":"","url":"https://api.github.com/users/m00t","html_url":"https://github.com/m00t","followers_url":"https://api.github.com/users/m00t/followers","following_url":"https://api.github.com/users/m00t/following{/other_user}","gists_url":"https://api.github.com/users/m00t/gists{/gist_id}","starred_url":"https://api.github.com/users/m00t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m00t/subscriptions","organizations_url":"https://api.github.com/users/m00t/orgs","repos_url":"https://api.github.com/users/m00t/repos","events_url":"https://api.github.com/users/m00t/events{/privacy}","received_events_url":"https://api.github.com/users/m00t/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m00t/behat-partial-runner","description":"","fork":false,"url":"https://api.github.com/repos/m00t/behat-partial-runner","forks_url":"https://api.github.com/repos/m00t/behat-partial-runner/forks","keys_url":"https://api.github.com/repos/m00t/behat-partial-runner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m00t/behat-partial-runner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m00t/behat-partial-runner/teams","hooks_url":"https://api.github.com/repos/m00t/behat-partial-runner/hooks","issue_events_url":"https://api.github.com/repos/m00t/behat-partial-runner/issues/events{/number}","events_url":"https://api.github.com/repos/m00t/behat-partial-runner/events","assignees_url":"https://api.github.com/repos/m00t/behat-partial-runner/assignees{/user}","branches_url":"https://api.github.com/repos/m00t/behat-partial-runner/branches{/branch}","tags_url":"https://api.github.com/repos/m00t/behat-partial-runner/tags","blobs_url":"https://api.github.com/repos/m00t/behat-partial-runner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m00t/behat-partial-runner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m00t/behat-partial-runner/git/refs{/sha}","trees_url":"https://api.github.com/repos/m00t/behat-partial-runner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m00t/behat-partial-runner/statuses/{sha}","languages_url":"https://api.github.com/repos/m00t/behat-partial-runner/languages","stargazers_url":"https://api.github.com/repos/m00t/behat-partial-runner/stargazers","contributors_url":"https://api.github.com/repos/m00t/behat-partial-runner/contributors","subscribers_url":"https://api.github.com/repos/m00t/behat-partial-runner/subscribers","subscription_url":"https://api.github.com/repos/m00t/behat-partial-runner/subscription","commits_url":"https://api.github.com/repos/m00t/behat-partial-runner/commits{/sha}","git_commits_url":"https://api.github.com/repos/m00t/behat-partial-runner/git/commits{/sha}","comments_url":"https://api.github.com/repos/m00t/behat-partial-runner/comments{/number}","issue_comment_url":"https://api.github.com/repos/m00t/behat-partial-runner/issues/comments{/number}","contents_url":"https://api.github.com/repos/m00t/behat-partial-runner/contents/{+path}","compare_url":"https://api.github.com/repos/m00t/behat-partial-runner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m00t/behat-partial-runner/merges","archive_url":"https://api.github.com/repos/m00t/behat-partial-runner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m00t/behat-partial-runner/downloads","issues_url":"https://api.github.com/repos/m00t/behat-partial-runner/issues{/number}","pulls_url":"https://api.github.com/repos/m00t/behat-partial-runner/pulls{/number}","milestones_url":"https://api.github.com/repos/m00t/behat-partial-runner/milestones{/number}","notifications_url":"https://api.github.com/repos/m00t/behat-partial-runner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m00t/behat-partial-runner/labels{/name}","releases_url":"https://api.github.com/repos/m00t/behat-partial-runner/releases{/id}","deployments_url":"https://api.github.com/repos/m00t/behat-partial-runner/deployments","created_at":"2014-02-04T10:53:31Z","updated_at":"2015-01-09T13:27:43Z","pushed_at":"2015-01-09T13:28:16Z","git_url":"git://github.com/m00t/behat-partial-runner.git","ssh_url":"git@github.com:m00t/behat-partial-runner.git","clone_url":"https://github.com/m00t/behat-partial-runner.git","svn_url":"https://github.com/m00t/behat-partial-runner","homepage":null,"size":188,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/1"},"html":{"href":"https://github.com/m00t/behat-partial-runner/pull/1"},"issue":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/issues/1"},"comments":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/m00t/behat-partial-runner/statuses/271a3c53d8c2e786b0a9d29239b7f501c83ce2fa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":521,"deletions":14,"changed_files":8}}
{"actor":{"display_login":"TaysirTayyab"}}