{"action":"closed","number":458,"pull_request":{"url":"https://api.github.com/repos/modeset/teaspoon/pulls/458","id":60842460,"html_url":"https://github.com/modeset/teaspoon/pull/458","diff_url":"https://github.com/modeset/teaspoon/pull/458.diff","patch_url":"https://github.com/modeset/teaspoon/pull/458.patch","issue_url":"https://api.github.com/repos/modeset/teaspoon/issues/458","number":458,"state":"closed","locked":false,"title":"BrowserStack Integration","user":{"login":"vedharish","id":2497481,"avatar_url":"https://avatars.githubusercontent.com/u/2497481?v=3","gravatar_id":"","url":"https://api.github.com/users/vedharish","html_url":"https://github.com/vedharish","followers_url":"https://api.github.com/users/vedharish/followers","following_url":"https://api.github.com/users/vedharish/following{/other_user}","gists_url":"https://api.github.com/users/vedharish/gists{/gist_id}","starred_url":"https://api.github.com/users/vedharish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedharish/subscriptions","organizations_url":"https://api.github.com/users/vedharish/orgs","repos_url":"https://api.github.com/users/vedharish/repos","events_url":"https://api.github.com/users/vedharish/events{/privacy}","received_events_url":"https://api.github.com/users/vedharish/received_events","type":"User","site_admin":false},"body":"This PR adds a 'browserstack' driver which can be used to run tests on browserstack.\r\n\r\nAdditional support in spec/teaspoon_env.rb : \r\n```ruby\r\nconfig.driver = :browserstack\r\nconfig.driver_options = {\r\n  capabilities: [{\r\n    os: \"OS X\",\r\n    os_version: \"El Capitan\",\r\n    browser: \"chrome\",\r\n    browser_version: \"\"\r\n  }, {\r\n    os: \"Windows\",\r\n    os_version: \"10\",\r\n    browser: \"firefox\",\r\n    browser_version: \"44\"\r\n  }],\r\n  username: ENV['BROWSERSTACK_USERNAME'],\r\n  access_key: ENV['BROWSERSTACK_ACCESS_KEY'],\r\n  project: 'BrowserStack Project Name'\r\n  build: 'BrowserStack Build Name',\r\n}\r\n```\r\nThe capabilities object is send as is to BrowserStack as desired_capabilities.\r\n\r\nTo access locally served pages on BrowserStack, we need to run a [platform specific binary](https://www.browserstack.com/local-testing#command-line) in the background. So, will have to run the binary from the command-line before running tests.","created_at":"2016-02-26T13:35:38Z","updated_at":"2016-03-03T16:42:23Z","closed_at":"2016-03-03T16:42:23Z","merged_at":"2016-03-03T16:42:23Z","merge_commit_sha":"4d5b83a141c9fcf3e0f70b4f20fd50506d3df54e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/modeset/teaspoon/pulls/458/commits","review_comments_url":"https://api.github.com/repos/modeset/teaspoon/pulls/458/comments","review_comment_url":"https://api.github.com/repos/modeset/teaspoon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/modeset/teaspoon/issues/458/comments","statuses_url":"https://api.github.com/repos/modeset/teaspoon/statuses/144c7096f98f5fcda8630c79b8ecf38ca3bf6d46","head":{"label":"vedharish:browserstack_integration","ref":"browserstack_integration","sha":"144c7096f98f5fcda8630c79b8ecf38ca3bf6d46","user":{"login":"vedharish","id":2497481,"avatar_url":"https://avatars.githubusercontent.com/u/2497481?v=3","gravatar_id":"","url":"https://api.github.com/users/vedharish","html_url":"https://github.com/vedharish","followers_url":"https://api.github.com/users/vedharish/followers","following_url":"https://api.github.com/users/vedharish/following{/other_user}","gists_url":"https://api.github.com/users/vedharish/gists{/gist_id}","starred_url":"https://api.github.com/users/vedharish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedharish/subscriptions","organizations_url":"https://api.github.com/users/vedharish/orgs","repos_url":"https://api.github.com/users/vedharish/repos","events_url":"https://api.github.com/users/vedharish/events{/privacy}","received_events_url":"https://api.github.com/users/vedharish/received_events","type":"User","site_admin":false},"repo":{"id":52605638,"name":"teaspoon","full_name":"vedharish/teaspoon","owner":{"login":"vedharish","id":2497481,"avatar_url":"https://avatars.githubusercontent.com/u/2497481?v=3","gravatar_id":"","url":"https://api.github.com/users/vedharish","html_url":"https://github.com/vedharish","followers_url":"https://api.github.com/users/vedharish/followers","following_url":"https://api.github.com/users/vedharish/following{/other_user}","gists_url":"https://api.github.com/users/vedharish/gists{/gist_id}","starred_url":"https://api.github.com/users/vedharish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedharish/subscriptions","organizations_url":"https://api.github.com/users/vedharish/orgs","repos_url":"https://api.github.com/users/vedharish/repos","events_url":"https://api.github.com/users/vedharish/events{/privacy}","received_events_url":"https://api.github.com/users/vedharish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vedharish/teaspoon","description":"Teaspoon: Javascript test runner for Rails. Run tests in the browser or headless with PhantomJS, Selenium WebDriver or Capybara Webkit.","fork":true,"url":"https://api.github.com/repos/vedharish/teaspoon","forks_url":"https://api.github.com/repos/vedharish/teaspoon/forks","keys_url":"https://api.github.com/repos/vedharish/teaspoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vedharish/teaspoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vedharish/teaspoon/teams","hooks_url":"https://api.github.com/repos/vedharish/teaspoon/hooks","issue_events_url":"https://api.github.com/repos/vedharish/teaspoon/issues/events{/number}","events_url":"https://api.github.com/repos/vedharish/teaspoon/events","assignees_url":"https://api.github.com/repos/vedharish/teaspoon/assignees{/user}","branches_url":"https://api.github.com/repos/vedharish/teaspoon/branches{/branch}","tags_url":"https://api.github.com/repos/vedharish/teaspoon/tags","blobs_url":"https://api.github.com/repos/vedharish/teaspoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vedharish/teaspoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vedharish/teaspoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/vedharish/teaspoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vedharish/teaspoon/statuses/{sha}","languages_url":"https://api.github.com/repos/vedharish/teaspoon/languages","stargazers_url":"https://api.github.com/repos/vedharish/teaspoon/stargazers","contributors_url":"https://api.github.com/repos/vedharish/teaspoon/contributors","subscribers_url":"https://api.github.com/repos/vedharish/teaspoon/subscribers","subscription_url":"https://api.github.com/repos/vedharish/teaspoon/subscription","commits_url":"https://api.github.com/repos/vedharish/teaspoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/vedharish/teaspoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/vedharish/teaspoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/vedharish/teaspoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/vedharish/teaspoon/contents/{+path}","compare_url":"https://api.github.com/repos/vedharish/teaspoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vedharish/teaspoon/merges","archive_url":"https://api.github.com/repos/vedharish/teaspoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vedharish/teaspoon/downloads","issues_url":"https://api.github.com/repos/vedharish/teaspoon/issues{/number}","pulls_url":"https://api.github.com/repos/vedharish/teaspoon/pulls{/number}","milestones_url":"https://api.github.com/repos/vedharish/teaspoon/milestones{/number}","notifications_url":"https://api.github.com/repos/vedharish/teaspoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vedharish/teaspoon/labels{/name}","releases_url":"https://api.github.com/repos/vedharish/teaspoon/releases{/id}","deployments_url":"https://api.github.com/repos/vedharish/teaspoon/deployments","created_at":"2016-02-26T13:18:13Z","updated_at":"2016-02-26T13:18:15Z","pushed_at":"2016-02-29T10:48:51Z","git_url":"git://github.com/vedharish/teaspoon.git","ssh_url":"git@github.com:vedharish/teaspoon.git","clone_url":"https://github.com/vedharish/teaspoon.git","svn_url":"https://github.com/vedharish/teaspoon","homepage":"","size":3490,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"modeset:master","ref":"master","sha":"135da14db8a2a28204717545c987eb5944345a11","user":{"login":"modeset","id":775768,"avatar_url":"https://avatars.githubusercontent.com/u/775768?v=3","gravatar_id":"","url":"https://api.github.com/users/modeset","html_url":"https://github.com/modeset","followers_url":"https://api.github.com/users/modeset/followers","following_url":"https://api.github.com/users/modeset/following{/other_user}","gists_url":"https://api.github.com/users/modeset/gists{/gist_id}","starred_url":"https://api.github.com/users/modeset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modeset/subscriptions","organizations_url":"https://api.github.com/users/modeset/orgs","repos_url":"https://api.github.com/users/modeset/repos","events_url":"https://api.github.com/users/modeset/events{/privacy}","received_events_url":"https://api.github.com/users/modeset/received_events","type":"Organization","site_admin":false},"repo":{"id":7048939,"name":"teaspoon","full_name":"modeset/teaspoon","owner":{"login":"modeset","id":775768,"avatar_url":"https://avatars.githubusercontent.com/u/775768?v=3","gravatar_id":"","url":"https://api.github.com/users/modeset","html_url":"https://github.com/modeset","followers_url":"https://api.github.com/users/modeset/followers","following_url":"https://api.github.com/users/modeset/following{/other_user}","gists_url":"https://api.github.com/users/modeset/gists{/gist_id}","starred_url":"https://api.github.com/users/modeset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modeset/subscriptions","organizations_url":"https://api.github.com/users/modeset/orgs","repos_url":"https://api.github.com/users/modeset/repos","events_url":"https://api.github.com/users/modeset/events{/privacy}","received_events_url":"https://api.github.com/users/modeset/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/modeset/teaspoon","description":"Teaspoon: Javascript test runner for Rails. Run tests in the browser or headless with PhantomJS, Selenium WebDriver or Capybara Webkit.","fork":false,"url":"https://api.github.com/repos/modeset/teaspoon","forks_url":"https://api.github.com/repos/modeset/teaspoon/forks","keys_url":"https://api.github.com/repos/modeset/teaspoon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/modeset/teaspoon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/modeset/teaspoon/teams","hooks_url":"https://api.github.com/repos/modeset/teaspoon/hooks","issue_events_url":"https://api.github.com/repos/modeset/teaspoon/issues/events{/number}","events_url":"https://api.github.com/repos/modeset/teaspoon/events","assignees_url":"https://api.github.com/repos/modeset/teaspoon/assignees{/user}","branches_url":"https://api.github.com/repos/modeset/teaspoon/branches{/branch}","tags_url":"https://api.github.com/repos/modeset/teaspoon/tags","blobs_url":"https://api.github.com/repos/modeset/teaspoon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/modeset/teaspoon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/modeset/teaspoon/git/refs{/sha}","trees_url":"https://api.github.com/repos/modeset/teaspoon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/modeset/teaspoon/statuses/{sha}","languages_url":"https://api.github.com/repos/modeset/teaspoon/languages","stargazers_url":"https://api.github.com/repos/modeset/teaspoon/stargazers","contributors_url":"https://api.github.com/repos/modeset/teaspoon/contributors","subscribers_url":"https://api.github.com/repos/modeset/teaspoon/subscribers","subscription_url":"https://api.github.com/repos/modeset/teaspoon/subscription","commits_url":"https://api.github.com/repos/modeset/teaspoon/commits{/sha}","git_commits_url":"https://api.github.com/repos/modeset/teaspoon/git/commits{/sha}","comments_url":"https://api.github.com/repos/modeset/teaspoon/comments{/number}","issue_comment_url":"https://api.github.com/repos/modeset/teaspoon/issues/comments{/number}","contents_url":"https://api.github.com/repos/modeset/teaspoon/contents/{+path}","compare_url":"https://api.github.com/repos/modeset/teaspoon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/modeset/teaspoon/merges","archive_url":"https://api.github.com/repos/modeset/teaspoon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/modeset/teaspoon/downloads","issues_url":"https://api.github.com/repos/modeset/teaspoon/issues{/number}","pulls_url":"https://api.github.com/repos/modeset/teaspoon/pulls{/number}","milestones_url":"https://api.github.com/repos/modeset/teaspoon/milestones{/number}","notifications_url":"https://api.github.com/repos/modeset/teaspoon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/modeset/teaspoon/labels{/name}","releases_url":"https://api.github.com/repos/modeset/teaspoon/releases{/id}","deployments_url":"https://api.github.com/repos/modeset/teaspoon/deployments","created_at":"2012-12-07T06:44:11Z","updated_at":"2016-03-01T21:46:24Z","pushed_at":"2016-03-03T16:42:23Z","git_url":"git://github.com/modeset/teaspoon.git","ssh_url":"git@github.com:modeset/teaspoon.git","clone_url":"https://github.com/modeset/teaspoon.git","svn_url":"https://github.com/modeset/teaspoon","homepage":"","size":3719,"stargazers_count":1190,"watchers_count":1190,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":176,"mirror_url":null,"open_issues_count":5,"forks":176,"open_issues":5,"watchers":1190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/modeset/teaspoon/pulls/458"},"html":{"href":"https://github.com/modeset/teaspoon/pull/458"},"issue":{"href":"https://api.github.com/repos/modeset/teaspoon/issues/458"},"comments":{"href":"https://api.github.com/repos/modeset/teaspoon/issues/458/comments"},"review_comments":{"href":"https://api.github.com/repos/modeset/teaspoon/pulls/458/comments"},"review_comment":{"href":"https://api.github.com/repos/modeset/teaspoon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/modeset/teaspoon/pulls/458/commits"},"statuses":{"href":"https://api.github.com/repos/modeset/teaspoon/statuses/144c7096f98f5fcda8630c79b8ecf38ca3bf6d46"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jejacks0n","id":13765,"avatar_url":"https://avatars.githubusercontent.com/u/13765?v=3","gravatar_id":"","url":"https://api.github.com/users/jejacks0n","html_url":"https://github.com/jejacks0n","followers_url":"https://api.github.com/users/jejacks0n/followers","following_url":"https://api.github.com/users/jejacks0n/following{/other_user}","gists_url":"https://api.github.com/users/jejacks0n/gists{/gist_id}","starred_url":"https://api.github.com/users/jejacks0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jejacks0n/subscriptions","organizations_url":"https://api.github.com/users/jejacks0n/orgs","repos_url":"https://api.github.com/users/jejacks0n/repos","events_url":"https://api.github.com/users/jejacks0n/events{/privacy}","received_events_url":"https://api.github.com/users/jejacks0n/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":1,"additions":253,"deletions":2,"changed_files":6}}