{"action":"created","comment":{"url":"https://api.github.com/repos/acquia/blt/pulls/comments/240085373","pull_request_review_id":183032595,"id":240085373,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDA4NTM3Mw==","diff_hunk":"@@ -20,6 +20,7 @@ public function tests() {\n     $this->invokeCommands([\n       'tests:behat:run',\n       'tests:phpunit:run',\n+      'tests:drupal:run',","path":"src/Robo/Commands/Tests/AllCommand.php","position":4,"original_position":4,"commit_id":"8ac177b0d3d9ba5637d264caccfd1f9c4c289ffd","original_commit_id":"5755d1356e9347b0ea20760b119b095ed754cdd1","user":{"login":"greylabel","id":479572,"node_id":"MDQ6VXNlcjQ3OTU3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/479572?v=4","gravatar_id":"","url":"https://api.github.com/users/greylabel","html_url":"https://github.com/greylabel","followers_url":"https://api.github.com/users/greylabel/followers","following_url":"https://api.github.com/users/greylabel/following{/other_user}","gists_url":"https://api.github.com/users/greylabel/gists{/gist_id}","starred_url":"https://api.github.com/users/greylabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greylabel/subscriptions","organizations_url":"https://api.github.com/users/greylabel/orgs","repos_url":"https://api.github.com/users/greylabel/repos","events_url":"https://api.github.com/users/greylabel/events{/privacy}","received_events_url":"https://api.github.com/users/greylabel/received_events","type":"User","site_admin":false},"body":"Added a fix for this.","created_at":"2018-12-10T05:06:44Z","updated_at":"2018-12-10T05:06:44Z","html_url":"https://github.com/acquia/blt/pull/3249#discussion_r240085373","pull_request_url":"https://api.github.com/repos/acquia/blt/pulls/3249","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/acquia/blt/pulls/comments/240085373"},"html":{"href":"https://github.com/acquia/blt/pull/3249#discussion_r240085373"},"pull_request":{"href":"https://api.github.com/repos/acquia/blt/pulls/3249"}},"in_reply_to_id":240057902},"pull_request":{"url":"https://api.github.com/repos/acquia/blt/pulls/3249","id":231705526,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzA1NTI2","html_url":"https://github.com/acquia/blt/pull/3249","diff_url":"https://github.com/acquia/blt/pull/3249.diff","patch_url":"https://github.com/acquia/blt/pull/3249.patch","issue_url":"https://api.github.com/repos/acquia/blt/issues/3249","number":3249,"state":"open","locked":false,"title":"[10.0.x] Drupal testing enhancements.","user":{"login":"greylabel","id":479572,"node_id":"MDQ6VXNlcjQ3OTU3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/479572?v=4","gravatar_id":"","url":"https://api.github.com/users/greylabel","html_url":"https://github.com/greylabel","followers_url":"https://api.github.com/users/greylabel/followers","following_url":"https://api.github.com/users/greylabel/following{/other_user}","gists_url":"https://api.github.com/users/greylabel/gists{/gist_id}","starred_url":"https://api.github.com/users/greylabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greylabel/subscriptions","organizations_url":"https://api.github.com/users/greylabel/orgs","repos_url":"https://api.github.com/users/greylabel/repos","events_url":"https://api.github.com/users/greylabel/events{/privacy}","received_events_url":"https://api.github.com/users/greylabel/received_events","type":"User","site_admin":false},"body":"Fixes #1787\r\n--------\r\n\r\nChanges proposed:\r\n---------\r\n- Add task that supports passing addition arguments to `phpunit`\r\n- Add command to run Drupal tests (with tests)\r\n- Refactor test base class to share with Behat tests\r\n- Add task and command to run Drupal's `run-tests.sh`\r\n- Instantiate `chromedriver` for function JavaScript testing\r\n- Add additional documentation for running PHPUnit and Drupal tests\r\n- Start moving testing config to subway of `tests` (with upgrade path)\r\n- Update Xdebug\r\n\r\nExample steps to verify the solution:\r\n-----------\r\n\r\n**Running Drupal tests with `runtests.sh`**\r\n\r\n1. Add an entry under `tests.run-tests`:\r\n```\r\ntests:\r\n  run-tests:\r\n    -\r\n      color: true\r\n      concurrency: 1\r\n      types:\r\n        - 'PHPUnit-FunctionalJavascript'\r\n      tests:\r\n        - 'action'\r\n      repeat: 1\r\n      sqlite: '${tests.drupal.sqlite}'\r\n      url: '${tests.drupal.simpletest_base_url}'\r\n```\r\n2. `blt tests:drupal:run`\r\n\r\n**Running PHPUnit tests with `phpunit `**\r\n\r\n1. Add an entry under `tests.phpunit`:\r\n```\r\ntests:\r\n  phpunit:\r\n    - path: '${repo.root}/tests/phpunit'\r\n      config: ${docroot}/core/phpunit.xml.dist\r\n      class: ExampleTest\r\n```\r\n2. `blt tests:phpunit:run`\r\n\r\n**Running Drupal tests with `phpunit`**\r\n\r\n1. Add an entry under `tests.phpunit ` and set `tests.drupal.test-runner: phpunit`:\r\n```\r\ntests:\r\n  drupal:\r\n    test-runner: phpunit\r\n  phpunit:\r\n    - config: '${docroot}/core/phpunit.xml.dist'\r\n      path: '${docroot}/core'\r\n      group: action\r\n      testsuites:\r\n        - 'functional-javascript'\r\n```\r\n2. `blt tests:drupal:run`","created_at":"2018-11-17T04:16:00Z","updated_at":"2018-12-10T05:06:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1b67c9a340c3ca9a27f4436cb0f4c91c39e113a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/acquia/blt/pulls/3249/commits","review_comments_url":"https://api.github.com/repos/acquia/blt/pulls/3249/comments","review_comment_url":"https://api.github.com/repos/acquia/blt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acquia/blt/issues/3249/comments","statuses_url":"https://api.github.com/repos/acquia/blt/statuses/8ac177b0d3d9ba5637d264caccfd1f9c4c289ffd","head":{"label":"greylabel:issues/1787--testing","ref":"issues/1787--testing","sha":"8ac177b0d3d9ba5637d264caccfd1f9c4c289ffd","user":{"login":"greylabel","id":479572,"node_id":"MDQ6VXNlcjQ3OTU3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/479572?v=4","gravatar_id":"","url":"https://api.github.com/users/greylabel","html_url":"https://github.com/greylabel","followers_url":"https://api.github.com/users/greylabel/followers","following_url":"https://api.github.com/users/greylabel/following{/other_user}","gists_url":"https://api.github.com/users/greylabel/gists{/gist_id}","starred_url":"https://api.github.com/users/greylabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greylabel/subscriptions","organizations_url":"https://api.github.com/users/greylabel/orgs","repos_url":"https://api.github.com/users/greylabel/repos","events_url":"https://api.github.com/users/greylabel/events{/privacy}","received_events_url":"https://api.github.com/users/greylabel/received_events","type":"User","site_admin":false},"repo":{"id":57311192,"node_id":"MDEwOlJlcG9zaXRvcnk1NzMxMTE5Mg==","name":"blt","full_name":"greylabel/blt","private":false,"owner":{"login":"greylabel","id":479572,"node_id":"MDQ6VXNlcjQ3OTU3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/479572?v=4","gravatar_id":"","url":"https://api.github.com/users/greylabel","html_url":"https://github.com/greylabel","followers_url":"https://api.github.com/users/greylabel/followers","following_url":"https://api.github.com/users/greylabel/following{/other_user}","gists_url":"https://api.github.com/users/greylabel/gists{/gist_id}","starred_url":"https://api.github.com/users/greylabel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greylabel/subscriptions","organizations_url":"https://api.github.com/users/greylabel/orgs","repos_url":"https://api.github.com/users/greylabel/repos","events_url":"https://api.github.com/users/greylabel/events{/privacy}","received_events_url":"https://api.github.com/users/greylabel/received_events","type":"User","site_admin":false},"html_url":"https://github.com/greylabel/blt","description":null,"fork":true,"url":"https://api.github.com/repos/greylabel/blt","forks_url":"https://api.github.com/repos/greylabel/blt/forks","keys_url":"https://api.github.com/repos/greylabel/blt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greylabel/blt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greylabel/blt/teams","hooks_url":"https://api.github.com/repos/greylabel/blt/hooks","issue_events_url":"https://api.github.com/repos/greylabel/blt/issues/events{/number}","events_url":"https://api.github.com/repos/greylabel/blt/events","assignees_url":"https://api.github.com/repos/greylabel/blt/assignees{/user}","branches_url":"https://api.github.com/repos/greylabel/blt/branches{/branch}","tags_url":"https://api.github.com/repos/greylabel/blt/tags","blobs_url":"https://api.github.com/repos/greylabel/blt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greylabel/blt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greylabel/blt/git/refs{/sha}","trees_url":"https://api.github.com/repos/greylabel/blt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greylabel/blt/statuses/{sha}","languages_url":"https://api.github.com/repos/greylabel/blt/languages","stargazers_url":"https://api.github.com/repos/greylabel/blt/stargazers","contributors_url":"https://api.github.com/repos/greylabel/blt/contributors","subscribers_url":"https://api.github.com/repos/greylabel/blt/subscribers","subscription_url":"https://api.github.com/repos/greylabel/blt/subscription","commits_url":"https://api.github.com/repos/greylabel/blt/commits{/sha}","git_commits_url":"https://api.github.com/repos/greylabel/blt/git/commits{/sha}","comments_url":"https://api.github.com/repos/greylabel/blt/comments{/number}","issue_comment_url":"https://api.github.com/repos/greylabel/blt/issues/comments{/number}","contents_url":"https://api.github.com/repos/greylabel/blt/contents/{+path}","compare_url":"https://api.github.com/repos/greylabel/blt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greylabel/blt/merges","archive_url":"https://api.github.com/repos/greylabel/blt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greylabel/blt/downloads","issues_url":"https://api.github.com/repos/greylabel/blt/issues{/number}","pulls_url":"https://api.github.com/repos/greylabel/blt/pulls{/number}","milestones_url":"https://api.github.com/repos/greylabel/blt/milestones{/number}","notifications_url":"https://api.github.com/repos/greylabel/blt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greylabel/blt/labels{/name}","releases_url":"https://api.github.com/repos/greylabel/blt/releases{/id}","deployments_url":"https://api.github.com/repos/greylabel/blt/deployments","created_at":"2016-04-28T15:10:51Z","updated_at":"2018-12-05T06:36:36Z","pushed_at":"2018-12-10T03:07:09Z","git_url":"git://github.com/greylabel/blt.git","ssh_url":"git@github.com:greylabel/blt.git","clone_url":"https://github.com/greylabel/blt.git","svn_url":"https://github.com/greylabel/blt","homepage":null,"size":4151,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"8.x"}},"base":{"label":"acquia:10.0.x","ref":"10.0.x","sha":"4ebf6e49856e6fdb8ecbf98899b1f15f0196a6a1","user":{"login":"acquia","id":514789,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNDc4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/514789?v=4","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"repo":{"id":57239027,"node_id":"MDEwOlJlcG9zaXRvcnk1NzIzOTAyNw==","name":"blt","full_name":"acquia/blt","private":false,"owner":{"login":"acquia","id":514789,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNDc4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/514789?v=4","gravatar_id":"","url":"https://api.github.com/users/acquia","html_url":"https://github.com/acquia","followers_url":"https://api.github.com/users/acquia/followers","following_url":"https://api.github.com/users/acquia/following{/other_user}","gists_url":"https://api.github.com/users/acquia/gists{/gist_id}","starred_url":"https://api.github.com/users/acquia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acquia/subscriptions","organizations_url":"https://api.github.com/users/acquia/orgs","repos_url":"https://api.github.com/users/acquia/repos","events_url":"https://api.github.com/users/acquia/events{/privacy}","received_events_url":"https://api.github.com/users/acquia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/acquia/blt","description":"Acquia's toolset for automating Drupal 8 development, testing, and deployment.","fork":false,"url":"https://api.github.com/repos/acquia/blt","forks_url":"https://api.github.com/repos/acquia/blt/forks","keys_url":"https://api.github.com/repos/acquia/blt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acquia/blt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acquia/blt/teams","hooks_url":"https://api.github.com/repos/acquia/blt/hooks","issue_events_url":"https://api.github.com/repos/acquia/blt/issues/events{/number}","events_url":"https://api.github.com/repos/acquia/blt/events","assignees_url":"https://api.github.com/repos/acquia/blt/assignees{/user}","branches_url":"https://api.github.com/repos/acquia/blt/branches{/branch}","tags_url":"https://api.github.com/repos/acquia/blt/tags","blobs_url":"https://api.github.com/repos/acquia/blt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acquia/blt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acquia/blt/git/refs{/sha}","trees_url":"https://api.github.com/repos/acquia/blt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acquia/blt/statuses/{sha}","languages_url":"https://api.github.com/repos/acquia/blt/languages","stargazers_url":"https://api.github.com/repos/acquia/blt/stargazers","contributors_url":"https://api.github.com/repos/acquia/blt/contributors","subscribers_url":"https://api.github.com/repos/acquia/blt/subscribers","subscription_url":"https://api.github.com/repos/acquia/blt/subscription","commits_url":"https://api.github.com/repos/acquia/blt/commits{/sha}","git_commits_url":"https://api.github.com/repos/acquia/blt/git/commits{/sha}","comments_url":"https://api.github.com/repos/acquia/blt/comments{/number}","issue_comment_url":"https://api.github.com/repos/acquia/blt/issues/comments{/number}","contents_url":"https://api.github.com/repos/acquia/blt/contents/{+path}","compare_url":"https://api.github.com/repos/acquia/blt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acquia/blt/merges","archive_url":"https://api.github.com/repos/acquia/blt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acquia/blt/downloads","issues_url":"https://api.github.com/repos/acquia/blt/issues{/number}","pulls_url":"https://api.github.com/repos/acquia/blt/pulls{/number}","milestones_url":"https://api.github.com/repos/acquia/blt/milestones{/number}","notifications_url":"https://api.github.com/repos/acquia/blt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acquia/blt/labels{/name}","releases_url":"https://api.github.com/repos/acquia/blt/releases{/id}","deployments_url":"https://api.github.com/repos/acquia/blt/deployments","created_at":"2016-04-27T19:04:48Z","updated_at":"2018-12-06T16:07:40Z","pushed_at":"2018-12-10T03:07:11Z","git_url":"git://github.com/acquia/blt.git","ssh_url":"git@github.com:acquia/blt.git","clone_url":"https://github.com/acquia/blt.git","svn_url":"https://github.com/acquia/blt","homepage":"https://acquia-pso.github.io/blt-blog/","size":4247,"stargazers_count":335,"watchers_count":335,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":275,"mirror_url":null,"archived":false,"open_issues_count":154,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":275,"open_issues":154,"watchers":335,"default_branch":"10.0.x"}},"_links":{"self":{"href":"https://api.github.com/repos/acquia/blt/pulls/3249"},"html":{"href":"https://github.com/acquia/blt/pull/3249"},"issue":{"href":"https://api.github.com/repos/acquia/blt/issues/3249"},"comments":{"href":"https://api.github.com/repos/acquia/blt/issues/3249/comments"},"review_comments":{"href":"https://api.github.com/repos/acquia/blt/pulls/3249/comments"},"review_comment":{"href":"https://api.github.com/repos/acquia/blt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acquia/blt/pulls/3249/commits"},"statuses":{"href":"https://api.github.com/repos/acquia/blt/statuses/8ac177b0d3d9ba5637d264caccfd1f9c4c289ffd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"greylabel"}}