{"action":"created","issue":{"url":"https://api.github.com/repos/thelounge/lounge/issues/408","repository_url":"https://api.github.com/repos/thelounge/lounge","labels_url":"https://api.github.com/repos/thelounge/lounge/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/thelounge/lounge/issues/408/comments","events_url":"https://api.github.com/repos/thelounge/lounge/issues/408/events","html_url":"https://github.com/thelounge/lounge/pull/408","id":160589434,"number":408,"title":"Add code coverage","user":{"login":"astorije","id":113730,"avatar_url":"https://avatars.githubusercontent.com/u/113730?v=3","gravatar_id":"","url":"https://api.github.com/users/astorije","html_url":"https://github.com/astorije","followers_url":"https://api.github.com/users/astorije/followers","following_url":"https://api.github.com/users/astorije/following{/other_user}","gists_url":"https://api.github.com/users/astorije/gists{/gist_id}","starred_url":"https://api.github.com/users/astorije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorije/subscriptions","organizations_url":"https://api.github.com/users/astorije/orgs","repos_url":"https://api.github.com/users/astorije/repos","events_url":"https://api.github.com/users/astorije/events{/privacy}","received_events_url":"https://api.github.com/users/astorije/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thelounge/lounge/labels/documentation","name":"documentation","color":"546E7A"},{"url":"https://api.github.com/repos/thelounge/lounge/labels/enhancement","name":"enhancement","color":"2196F3"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-16T06:47:12Z","updated_at":"2016-06-16T09:08:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thelounge/lounge/pulls/408","html_url":"https://github.com/thelounge/lounge/pull/408","diff_url":"https://github.com/thelounge/lounge/pull/408.diff","patch_url":"https://github.com/thelounge/lounge/pull/408.patch"},"body":"I had that in my working directory for a while, always showing in my `git status`, so I figured I should wrap it up and post it somewhere.\r\n\r\nNot sure we want to make it a badge yet considering the number, but that's good information, and the coverage report, in HTML, can be helpful.\r\n\r\nAt the moment...\r\n\r\n```\r\n=============================================================================\r\nWriting coverage object [/.../lounge/coverage/coverage.json]\r\nWriting coverage reports at [/.../lounge/coverage]\r\n=============================================================================\r\n\r\n=============================== Coverage summary ===============================\r\nStatements   : 9.44% ( 144/1526 )\r\nBranches     : 1.79% ( 33/1845 )\r\nFunctions    : 9.82% ( 27/275 )\r\nLines        : 9.45% ( 144/1524 )\r\n================================================================================\r\n```"},"comment":{"url":"https://api.github.com/repos/thelounge/lounge/issues/comments/226429989","html_url":"https://github.com/thelounge/lounge/pull/408#issuecomment-226429989","issue_url":"https://api.github.com/repos/thelounge/lounge/issues/408","id":226429989,"user":{"login":"xPaw","id":613331,"avatar_url":"https://avatars.githubusercontent.com/u/613331?v=3","gravatar_id":"","url":"https://api.github.com/users/xPaw","html_url":"https://github.com/xPaw","followers_url":"https://api.github.com/users/xPaw/followers","following_url":"https://api.github.com/users/xPaw/following{/other_user}","gists_url":"https://api.github.com/users/xPaw/gists{/gist_id}","starred_url":"https://api.github.com/users/xPaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xPaw/subscriptions","organizations_url":"https://api.github.com/users/xPaw/orgs","repos_url":"https://api.github.com/users/xPaw/repos","events_url":"https://api.github.com/users/xPaw/events{/privacy}","received_events_url":"https://api.github.com/users/xPaw/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T09:08:07Z","updated_at":"2016-06-16T09:08:07Z","body":"I think coverage for server files is useful to see (not just % report), as we will know which stuff should be test covered.\r\n\r\nInstead of istanbul, should we use a service (e.g. coveralls) for this?"}}
{"actor":{"display_login":"xPaw"}}