{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments/61156011","id":61156011,"diff_hunk":"@@ -11,6 +11,11 @@ Instead, modify the sources in the ```www``` folder and compile a new version of\n \n ```node.js``` and ```npm``` are needed for building this project. ```npm``` comes bundled with the ```node.js``` installer. You can download the ```node.js``` installer here: https://nodejs.org/download/. \n \n+To run Android tests, make sure you have ```sdk\\tools``` and  ```sdk\\platform-tools``` in your PATH.\n+\n+If you would like the tests to start the emulators for you, configure an Android emulator using the AVD and name it ```emulator```.","path":"CONTRIBUTING.md","position":6,"original_position":6,"commit_id":"c1188e33a5e4708284643cf34699d57df4e41b58","original_commit_id":"c1188e33a5e4708284643cf34699d57df4e41b58","user":{"login":"geof90","id":8598682,"avatar_url":"https://avatars.githubusercontent.com/u/8598682?v=3","gravatar_id":"","url":"https://api.github.com/users/geof90","html_url":"https://github.com/geof90","followers_url":"https://api.github.com/users/geof90/followers","following_url":"https://api.github.com/users/geof90/following{/other_user}","gists_url":"https://api.github.com/users/geof90/gists{/gist_id}","starred_url":"https://api.github.com/users/geof90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geof90/subscriptions","organizations_url":"https://api.github.com/users/geof90/orgs","repos_url":"https://api.github.com/users/geof90/repos","events_url":"https://api.github.com/users/geof90/events{/privacy}","received_events_url":"https://api.github.com/users/geof90/received_events","type":"User","site_admin":false},"body":"I think emulator names should be passed by command line with defaults if not provided, like what Daniel suggests. As to the test task names (android, ios+ui, ios+wk etc..) I will leave it up to you since it looks like its going to be a huge undertaking to refactor everything","created_at":"2016-04-26T20:14:40Z","updated_at":"2016-04-26T20:14:40Z","html_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/101#discussion_r61156011","pull_request_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments/61156011"},"html":{"href":"https://github.com/Microsoft/cordova-plugin-code-push/pull/101#discussion_r61156011"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101","id":67572269,"html_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/101","diff_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/101.diff","patch_url":"https://github.com/Microsoft/cordova-plugin-code-push/pull/101.patch","issue_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/101","number":101,"state":"open","locked":false,"title":"Automated testing","user":{"login":"scottbommarito","id":18014088,"avatar_url":"https://avatars.githubusercontent.com/u/18014088?v=3","gravatar_id":"","url":"https://api.github.com/users/scottbommarito","html_url":"https://github.com/scottbommarito","followers_url":"https://api.github.com/users/scottbommarito/followers","following_url":"https://api.github.com/users/scottbommarito/following{/other_user}","gists_url":"https://api.github.com/users/scottbommarito/gists{/gist_id}","starred_url":"https://api.github.com/users/scottbommarito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottbommarito/subscriptions","organizations_url":"https://api.github.com/users/scottbommarito/orgs","repos_url":"https://api.github.com/users/scottbommarito/repos","events_url":"https://api.github.com/users/scottbommarito/events{/privacy}","received_events_url":"https://api.github.com/users/scottbommarito/received_events","type":"User","site_admin":false},"body":"-can now run multiple platforms in a single test\r\n-now starts/restarts emulators whenever you run a task\r\n-every possible configuration of platforms possible in a single command\r\n-slightly improved test output\r\n-added more command line flags and options to the mocha command used to run tests\r\n\r\nNOTE: I took out the \"application_resumed\" test message. Sometimes, cordova would just not send the event leading to unpredictable failures that would not reflect whether or not the plugin was actually working. We know the operation we are performing is a resume, and if the app sends the rest of the messages we can know that it's running correctly anyway.","created_at":"2016-04-22T20:59:42Z","updated_at":"2016-04-26T20:14:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"affac0915f2cd80284ad450d5ba90f0e6d0ae9dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101/commits","review_comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101/comments","review_comment_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/101/comments","statuses_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/c1188e33a5e4708284643cf34699d57df4e41b58","head":{"label":"Microsoft:automated-testing","ref":"automated-testing","sha":"c1188e33a5e4708284643cf34699d57df4e41b58","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":41043374,"name":"cordova-plugin-code-push","full_name":"Microsoft/cordova-plugin-code-push","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/cordova-plugin-code-push","description":"Cordova plugin for CodePush","fork":false,"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push","forks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/forks","keys_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/teams","hooks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/events","assignees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/tags","blobs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/languages","stargazers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscription","commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/merges","archive_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/downloads","issues_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/deployments","created_at":"2015-08-19T15:40:12Z","updated_at":"2016-04-26T16:01:52Z","pushed_at":"2016-04-26T01:06:27Z","git_url":"git://github.com/Microsoft/cordova-plugin-code-push.git","ssh_url":"git@github.com:Microsoft/cordova-plugin-code-push.git","clone_url":"https://github.com/Microsoft/cordova-plugin-code-push.git","svn_url":"https://github.com/Microsoft/cordova-plugin-code-push","homepage":"http://codepush.tools","size":818,"stargazers_count":115,"watchers_count":115,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":7,"forks":14,"open_issues":7,"watchers":115,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"2d8e93168a43570c6d27677f38399db5f2632d51","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":41043374,"name":"cordova-plugin-code-push","full_name":"Microsoft/cordova-plugin-code-push","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/cordova-plugin-code-push","description":"Cordova plugin for CodePush","fork":false,"url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push","forks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/forks","keys_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/teams","hooks_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/events","assignees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/tags","blobs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/languages","stargazers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/subscription","commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/merges","archive_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/downloads","issues_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/deployments","created_at":"2015-08-19T15:40:12Z","updated_at":"2016-04-26T16:01:52Z","pushed_at":"2016-04-26T01:06:27Z","git_url":"git://github.com/Microsoft/cordova-plugin-code-push.git","ssh_url":"git@github.com:Microsoft/cordova-plugin-code-push.git","clone_url":"https://github.com/Microsoft/cordova-plugin-code-push.git","svn_url":"https://github.com/Microsoft/cordova-plugin-code-push","homepage":"http://codepush.tools","size":818,"stargazers_count":115,"watchers_count":115,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":7,"forks":14,"open_issues":7,"watchers":115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101"},"html":{"href":"https://github.com/Microsoft/cordova-plugin-code-push/pull/101"},"issue":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/101"},"comments":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/cordova-plugin-code-push/statuses/c1188e33a5e4708284643cf34699d57df4e41b58"}}}}