{"action":"created","issue":{"url":"https://api.github.com/repos/pocesar/grunt-mocha-istanbul/issues/36","labels_url":"https://api.github.com/repos/pocesar/grunt-mocha-istanbul/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/pocesar/grunt-mocha-istanbul/issues/36/comments","events_url":"https://api.github.com/repos/pocesar/grunt-mocha-istanbul/issues/36/events","html_url":"https://github.com/pocesar/grunt-mocha-istanbul/issues/36","id":91995900,"number":36,"title":"No coverage information was collected, exit without writing coverage information","user":{"login":"Negaihoshi","id":1733006,"avatar_url":"https://avatars.githubusercontent.com/u/1733006?v=3","gravatar_id":"","url":"https://api.github.com/users/Negaihoshi","html_url":"https://github.com/Negaihoshi","followers_url":"https://api.github.com/users/Negaihoshi/followers","following_url":"https://api.github.com/users/Negaihoshi/following{/other_user}","gists_url":"https://api.github.com/users/Negaihoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Negaihoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Negaihoshi/subscriptions","organizations_url":"https://api.github.com/users/Negaihoshi/orgs","repos_url":"https://api.github.com/users/Negaihoshi/repos","events_url":"https://api.github.com/users/Negaihoshi/events{/privacy}","received_events_url":"https://api.github.com/users/Negaihoshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-30T06:08:42Z","updated_at":"2015-07-04T06:28:55Z","closed_at":null,"body":"I try to use grunt-mocha-istanbul, but it always show me \"No coverage information was collected, exit without writing coverage information\".\r\n\r\n![2015-06-30 2 07 16](https://cloud.githubusercontent.com/assets/1733006/8424773/5f033c02-1f31-11e5-90cb-9730f98f03b6.png)\r\n\r\nmy grunt config\r\n```\r\nmodule.exports = (grunt) ->\r\n  grunt.config.set 'mocha_istanbul',\r\n  coverage:\r\n    src: 'test/controllers/'\r\n    options:\r\n      coverageFolder: 'coverage'\r\n      root: 'api/'\r\n  grunt.loadNpmTasks 'grunt-mocha-istanbul'\r\n  return\r\n\r\n```\r\nproject use sails."},"comment":{"url":"https://api.github.com/repos/pocesar/grunt-mocha-istanbul/issues/comments/118468732","html_url":"https://github.com/pocesar/grunt-mocha-istanbul/issues/36#issuecomment-118468732","issue_url":"https://api.github.com/repos/pocesar/grunt-mocha-istanbul/issues/36","id":118468732,"user":{"login":"pocesar","id":461084,"avatar_url":"https://avatars.githubusercontent.com/u/461084?v=3","gravatar_id":"","url":"https://api.github.com/users/pocesar","html_url":"https://github.com/pocesar","followers_url":"https://api.github.com/users/pocesar/followers","following_url":"https://api.github.com/users/pocesar/following{/other_user}","gists_url":"https://api.github.com/users/pocesar/gists{/gist_id}","starred_url":"https://api.github.com/users/pocesar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocesar/subscriptions","organizations_url":"https://api.github.com/users/pocesar/orgs","repos_url":"https://api.github.com/users/pocesar/repos","events_url":"https://api.github.com/users/pocesar/events{/privacy}","received_events_url":"https://api.github.com/users/pocesar/received_events","type":"User","site_admin":false},"created_at":"2015-07-04T06:28:55Z","updated_at":"2015-07-04T06:28:55Z","body":"it should be\r\n```coffee\r\nmodule.exports = (grunt) ->\r\n  grunt.config.set 'mocha_istanbul',\r\n  coverage:\r\n    src: 'test/unit'\r\n    options:\r\n      coverageFolder: 'coverage'\r\n      istanbulOptions: ['--hook-run-in-context']\r\n      scriptPath: require.resolve('/Users/negaihoshi/.nvm/versions/io.js/v1.8.1/bin/ibrik') # line changed\r\n      mask: '**/*.spec.coffee'\r\n      root: 'api/'\r\n  grunt.loadNpmTasks 'grunt-mocha-istanbul'\r\n  return\r\n```\r\n\r\nalso, is the `bootstrap.test.coffee` being called prior to the task execution? is it needed?"}}