{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/test/issues/1088","repository_url":"https://api.github.com/repos/dart-lang/test","labels_url":"https://api.github.com/repos/dart-lang/test/issues/1088/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/test/issues/1088/comments","events_url":"https://api.github.com/repos/dart-lang/test/issues/1088/events","html_url":"https://github.com/dart-lang/test/pull/1088","id":498947295,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIxNzcwMTc4","number":1088,"title":"Implement VM coverage gathering","user":{"login":"willdrach-wk","id":47008019,"node_id":"MDQ6VXNlcjQ3MDA4MDE5","avatar_url":"https://avatars1.githubusercontent.com/u/47008019?v=4","gravatar_id":"","url":"https://api.github.com/users/willdrach-wk","html_url":"https://github.com/willdrach-wk","followers_url":"https://api.github.com/users/willdrach-wk/followers","following_url":"https://api.github.com/users/willdrach-wk/following{/other_user}","gists_url":"https://api.github.com/users/willdrach-wk/gists{/gist_id}","starred_url":"https://api.github.com/users/willdrach-wk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdrach-wk/subscriptions","organizations_url":"https://api.github.com/users/willdrach-wk/orgs","repos_url":"https://api.github.com/users/willdrach-wk/repos","events_url":"https://api.github.com/users/willdrach-wk/events{/privacy}","received_events_url":"https://api.github.com/users/willdrach-wk/received_events","type":"User","site_admin":false},"labels":[{"id":421017789,"node_id":"MDU6TGFiZWw0MjEwMTc3ODk=","url":"https://api.github.com/repos/dart-lang/test/labels/cla:%20yes","name":"cla: yes","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-09-26T15:06:47Z","updated_at":"2019-10-08T13:59:58Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dart-lang/test/pulls/1088","html_url":"https://github.com/dart-lang/test/pull/1088","diff_url":"https://github.com/dart-lang/test/pull/1088.diff","patch_url":"https://github.com/dart-lang/test/pull/1088.patch"},"body":"Open to feedback on this. Here's how it works at the moment:\r\n\r\nThere's a new `--coverage` option that you can use to specify the output directory for your coverage. It will create a new output directory if one doesn't already exist.\r\n\r\nThe tests are run through the engine, and then get spit out to a coverage helper function. That coverage helper function:\r\n**A)** Checks if it's a VM suite\r\n**B)** Gathers coverage if it is\r\n**C)** Outputs coverage to `${suite path}.vm.json`\r\n\r\nSo, for example, when I run:\r\n```bash\r\npub run test --coverage hello_world test/vm/simple_repo_test.dart\r\n```\r\n\r\nA new file gets added at `hello_world/test/vm/simple_repo_test.dart.vm.json` with the coverage results!"},"comment":{"url":"https://api.github.com/repos/dart-lang/test/issues/comments/539527537","html_url":"https://github.com/dart-lang/test/pull/1088#issuecomment-539527537","issue_url":"https://api.github.com/repos/dart-lang/test/issues/1088","id":539527537,"node_id":"MDEyOklzc3VlQ29tbWVudDUzOTUyNzUzNw==","user":{"login":"willdrach-wk","id":47008019,"node_id":"MDQ6VXNlcjQ3MDA4MDE5","avatar_url":"https://avatars1.githubusercontent.com/u/47008019?v=4","gravatar_id":"","url":"https://api.github.com/users/willdrach-wk","html_url":"https://github.com/willdrach-wk","followers_url":"https://api.github.com/users/willdrach-wk/followers","following_url":"https://api.github.com/users/willdrach-wk/following{/other_user}","gists_url":"https://api.github.com/users/willdrach-wk/gists{/gist_id}","starred_url":"https://api.github.com/users/willdrach-wk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdrach-wk/subscriptions","organizations_url":"https://api.github.com/users/willdrach-wk/orgs","repos_url":"https://api.github.com/users/willdrach-wk/repos","events_url":"https://api.github.com/users/willdrach-wk/events{/privacy}","received_events_url":"https://api.github.com/users/willdrach-wk/received_events","type":"User","site_admin":false},"created_at":"2019-10-08T13:59:58Z","updated_at":"2019-10-08T13:59:58Z","author_association":"CONTRIBUTOR","body":"@grouma done!"}}
{"actor":{"display_login":"willdrach-wk"}}