{"action":"created","issue":{"url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/issues/40","labels_url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/issues/40/comments","events_url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/issues/40/events","html_url":"https://github.com/asciidisco/grunt-qunit-istanbul/issues/40","id":57839499,"number":40,"title":"Get Code Coverage for non-tested files","user":{"login":"ngrieble","id":3202333,"avatar_url":"https://avatars.githubusercontent.com/u/3202333?v=3","gravatar_id":"","url":"https://api.github.com/users/ngrieble","html_url":"https://github.com/ngrieble","followers_url":"https://api.github.com/users/ngrieble/followers","following_url":"https://api.github.com/users/ngrieble/following{/other_user}","gists_url":"https://api.github.com/users/ngrieble/gists{/gist_id}","starred_url":"https://api.github.com/users/ngrieble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngrieble/subscriptions","organizations_url":"https://api.github.com/users/ngrieble/orgs","repos_url":"https://api.github.com/users/ngrieble/repos","events_url":"https://api.github.com/users/ngrieble/events{/privacy}","received_events_url":"https://api.github.com/users/ngrieble/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"asciidisco","id":805339,"avatar_url":"https://avatars.githubusercontent.com/u/805339?v=3","gravatar_id":"","url":"https://api.github.com/users/asciidisco","html_url":"https://github.com/asciidisco","followers_url":"https://api.github.com/users/asciidisco/followers","following_url":"https://api.github.com/users/asciidisco/following{/other_user}","gists_url":"https://api.github.com/users/asciidisco/gists{/gist_id}","starred_url":"https://api.github.com/users/asciidisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asciidisco/subscriptions","organizations_url":"https://api.github.com/users/asciidisco/orgs","repos_url":"https://api.github.com/users/asciidisco/repos","events_url":"https://api.github.com/users/asciidisco/events{/privacy}","received_events_url":"https://api.github.com/users/asciidisco/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-02-16T18:54:31Z","updated_at":"2015-04-10T17:14:54Z","closed_at":null,"body":"Sorry this is more of a question than an issue, but I can't seem to figure out how to get this to work. Is there a way to get coverage reported for ALL the files in src? So 0% for files that are not tested?\r\n\r\nI saw that istanbul has a flag called 'include-all-sources' but I'm not sure how to pass the flag to istanbul through grunt-qunit-istanbul's config. I've tried the following:\r\n\r\n        qunit: {\r\n            options: {\r\n                'include-all-sources': true,\r\n                coverage: {\r\n                    disposeCollector: true,\r\n                    src: '<%= pkg.projectFiles.javascript %>',\r\n                    htmlReport: '<%= pkg.outputLocations.codeCoverageReports %>',\r\n                    coberturaReport: '<%= pkg.outputLocations.codeCoverageReports %>',\r\n                    cloverReport: '<%= pkg.outputLocations.codeCoverageReports %>',\r\n                    instrumentedFiles: 'temp/',\r\n                    reportOnFail: true,\r\n                    linesThresholdPct: '<%= pkg.coverageThreshold %>'\r\n                }\r\n            },\r\n            all: '<%= pkg.projectFiles.qunitTests %>'\r\n        }\r\n\r\nIt doesn't seem to work though. Here's the source for the flag I'm referring to: https://github.com/gotwarlost/istanbul/pull/275\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/issues/comments/91625469","html_url":"https://github.com/asciidisco/grunt-qunit-istanbul/issues/40#issuecomment-91625469","issue_url":"https://api.github.com/repos/asciidisco/grunt-qunit-istanbul/issues/40","id":91625469,"user":{"login":"ngrieble","id":3202333,"avatar_url":"https://avatars.githubusercontent.com/u/3202333?v=3","gravatar_id":"","url":"https://api.github.com/users/ngrieble","html_url":"https://github.com/ngrieble","followers_url":"https://api.github.com/users/ngrieble/followers","following_url":"https://api.github.com/users/ngrieble/following{/other_user}","gists_url":"https://api.github.com/users/ngrieble/gists{/gist_id}","starred_url":"https://api.github.com/users/ngrieble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngrieble/subscriptions","organizations_url":"https://api.github.com/users/ngrieble/orgs","repos_url":"https://api.github.com/users/ngrieble/repos","events_url":"https://api.github.com/users/ngrieble/events{/privacy}","received_events_url":"https://api.github.com/users/ngrieble/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T17:14:53Z","updated_at":"2015-04-10T17:14:53Z","body":"Hi @asciidisco!\r\n\r\nGlad I found the right place for this discussion :) No worries about the response time either.\r\n\r\nSo i tried using the latest version (0.5.0). Unfortunately the flag still isn't being recognized. I get code coverage, but only for the files I have explicitly included in my qunit tests. I can dig through the code a bit and see if there's a way to propagate this down."}}