{"action":"created","issue":{"url":"https://api.github.com/repos/nestorsalceda/mamba/issues/55","labels_url":"https://api.github.com/repos/nestorsalceda/mamba/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/nestorsalceda/mamba/issues/55/comments","events_url":"https://api.github.com/repos/nestorsalceda/mamba/issues/55/events","html_url":"https://github.com/nestorsalceda/mamba/pull/55","id":99284917,"number":55,"title":"Use .coveragerc file","user":{"login":"angelsanz","id":2227888,"avatar_url":"https://avatars.githubusercontent.com/u/2227888?v=3","gravatar_id":"","url":"https://api.github.com/users/angelsanz","html_url":"https://github.com/angelsanz","followers_url":"https://api.github.com/users/angelsanz/followers","following_url":"https://api.github.com/users/angelsanz/following{/other_user}","gists_url":"https://api.github.com/users/angelsanz/gists{/gist_id}","starred_url":"https://api.github.com/users/angelsanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angelsanz/subscriptions","organizations_url":"https://api.github.com/users/angelsanz/orgs","repos_url":"https://api.github.com/users/angelsanz/repos","events_url":"https://api.github.com/users/angelsanz/events{/privacy}","received_events_url":"https://api.github.com/users/angelsanz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T19:50:36Z","updated_at":"2015-08-06T07:29:16Z","closed_at":"2015-08-06T07:29:10Z","pull_request":{"url":"https://api.github.com/repos/nestorsalceda/mamba/pulls/55","html_url":"https://github.com/nestorsalceda/mamba/pull/55","diff_url":"https://github.com/nestorsalceda/mamba/pull/55.diff","patch_url":"https://github.com/nestorsalceda/mamba/pull/55.patch"},"body":"Using a `.coveragerc` is cleaner, as you can specify which files to measure coverage on, instead of running it in the whole project and then filter in `coverage report`.\r\n\r\nThis includes a very simple `.coveragerc` template, but I guess not all files from `./mamba` should be included. However, in my experience, spec files should not be included in coverage measurement, as they are obviously going to have 100% coverage (the test code does run, or else you have a bigger problem), which would probably skew the coverage results upwards. Further, spec files are typically not part of the code you're acutally interested in covering. For these reasons, I didn't include it in the `.coveragerc`.\r\n\r\nThis `.coveragerc` file also instructs `coverage` to measure branch coverage, which is disabled by default."},"comment":{"url":"https://api.github.com/repos/nestorsalceda/mamba/issues/comments/128276943","html_url":"https://github.com/nestorsalceda/mamba/pull/55#issuecomment-128276943","issue_url":"https://api.github.com/repos/nestorsalceda/mamba/issues/55","id":128276943,"user":{"login":"nestorsalceda","id":310141,"avatar_url":"https://avatars.githubusercontent.com/u/310141?v=3","gravatar_id":"","url":"https://api.github.com/users/nestorsalceda","html_url":"https://github.com/nestorsalceda","followers_url":"https://api.github.com/users/nestorsalceda/followers","following_url":"https://api.github.com/users/nestorsalceda/following{/other_user}","gists_url":"https://api.github.com/users/nestorsalceda/gists{/gist_id}","starred_url":"https://api.github.com/users/nestorsalceda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nestorsalceda/subscriptions","organizations_url":"https://api.github.com/users/nestorsalceda/orgs","repos_url":"https://api.github.com/users/nestorsalceda/repos","events_url":"https://api.github.com/users/nestorsalceda/events{/privacy}","received_events_url":"https://api.github.com/users/nestorsalceda/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T07:29:16Z","updated_at":"2015-08-06T07:29:16Z","body":"Thanks you @angelsanz !!!"}}