{"action":"created","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/1576","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/1576/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/1576/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/1576/events","html_url":"https://github.com/mochajs/mocha/issues/1576","id":59803540,"number":1576,"title":"Documentation - coverage report when running programmatically","user":{"login":"vasanthps","id":4953952,"avatar_url":"https://avatars.githubusercontent.com/u/4953952?v=3","gravatar_id":"","url":"https://api.github.com/users/vasanthps","html_url":"https://github.com/vasanthps","followers_url":"https://api.github.com/users/vasanthps/followers","following_url":"https://api.github.com/users/vasanthps/following{/other_user}","gists_url":"https://api.github.com/users/vasanthps/gists{/gist_id}","starred_url":"https://api.github.com/users/vasanthps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasanthps/subscriptions","organizations_url":"https://api.github.com/users/vasanthps/orgs","repos_url":"https://api.github.com/users/vasanthps/repos","events_url":"https://api.github.com/users/vasanthps/events{/privacy}","received_events_url":"https://api.github.com/users/vasanthps/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T14:20:29Z","updated_at":"2015-03-26T12:35:57Z","closed_at":"2015-03-26T12:35:57Z","body":"I found in the wiki how to run mocha programmatically:- https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically\r\n\r\nIt would be helpful if you can include how to generate coverage report when running programmatically as well.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mochajs/mocha/issues/comments/86491918","html_url":"https://github.com/mochajs/mocha/issues/1576#issuecomment-86491918","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/1576","id":86491918,"user":{"login":"vasanthps","id":4953952,"avatar_url":"https://avatars.githubusercontent.com/u/4953952?v=3","gravatar_id":"","url":"https://api.github.com/users/vasanthps","html_url":"https://github.com/vasanthps","followers_url":"https://api.github.com/users/vasanthps/followers","following_url":"https://api.github.com/users/vasanthps/following{/other_user}","gists_url":"https://api.github.com/users/vasanthps/gists{/gist_id}","starred_url":"https://api.github.com/users/vasanthps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasanthps/subscriptions","organizations_url":"https://api.github.com/users/vasanthps/orgs","repos_url":"https://api.github.com/users/vasanthps/repos","events_url":"https://api.github.com/users/vasanthps/events{/privacy}","received_events_url":"https://api.github.com/users/vasanthps/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T12:35:57Z","updated_at":"2015-03-26T12:35:57Z","body":"@danielstjules Thank you. I had just started using mocha and was in a impression that, mocha also had coverage reporter inbuilt. I am now using Istanbul and things are working fine.\r\n\r\nRegards\r\nVasanth\r\n\r\n"}}