{"action":"closed","issue":{"url":"https://api.github.com/repos/stevesaliman/gradle-cobertura-plugin/issues/40","labels_url":"https://api.github.com/repos/stevesaliman/gradle-cobertura-plugin/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/stevesaliman/gradle-cobertura-plugin/issues/40/comments","events_url":"https://api.github.com/repos/stevesaliman/gradle-cobertura-plugin/issues/40/events","html_url":"https://github.com/stevesaliman/gradle-cobertura-plugin/issues/40","id":25086282,"number":40,"title":"Cobertura Gradle Powermock Issue","user":{"login":"lpambagoda","id":6310630,"avatar_url":"https://avatars.githubusercontent.com/u/6310630?v=3","gravatar_id":"","url":"https://api.github.com/users/lpambagoda","html_url":"https://github.com/lpambagoda","followers_url":"https://api.github.com/users/lpambagoda/followers","following_url":"https://api.github.com/users/lpambagoda/following{/other_user}","gists_url":"https://api.github.com/users/lpambagoda/gists{/gist_id}","starred_url":"https://api.github.com/users/lpambagoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpambagoda/subscriptions","organizations_url":"https://api.github.com/users/lpambagoda/orgs","repos_url":"https://api.github.com/users/lpambagoda/repos","events_url":"https://api.github.com/users/lpambagoda/events{/privacy}","received_events_url":"https://api.github.com/users/lpambagoda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-01-06T05:19:50Z","updated_at":"2015-09-14T02:32:44Z","closed_at":"2015-09-14T02:32:44Z","body":"Hi,\r\n\r\nWhen we use power mock with gradle, gradle-cobetura-plugin does not generate the coverage report for the tests with power mock. However tests with out power mock is shown in the coverage report properly even-though they are in the same project. \r\n\r\nPlease check the following sample code I have written to recreate the issue.\r\n\r\nhttps://github.com/lpambagoda/cobertura-gradle-powermock-issue\r\n\r\nI have tested this with gradle 1.7 to 1.10 with  gradle-cobetura-plugin 2.2.2. \r\n\r\nThere was a similar issue reported for maven as well. However that issue is fixed now.\r\n\r\nhttp://www.jsfblog.info/2010/02/cobertura-code-coverage-with-maven-and-powermock/\r\n\r\nBest Regards\r\nLasantha"}}