{"action":"closed","issue":{"url":"https://api.github.com/repos/vanniktech/gradle-android-junit-jacoco-plugin/issues/35","repository_url":"https://api.github.com/repos/vanniktech/gradle-android-junit-jacoco-plugin","labels_url":"https://api.github.com/repos/vanniktech/gradle-android-junit-jacoco-plugin/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/vanniktech/gradle-android-junit-jacoco-plugin/issues/35/comments","events_url":"https://api.github.com/repos/vanniktech/gradle-android-junit-jacoco-plugin/issues/35/events","html_url":"https://github.com/vanniktech/gradle-android-junit-jacoco-plugin/issues/35","id":165524933,"number":35,"title":"Coverage only for unit tests in Android projects","user":{"login":"outlying","id":2069751,"avatar_url":"https://avatars.githubusercontent.com/u/2069751?v=3","gravatar_id":"","url":"https://api.github.com/users/outlying","html_url":"https://github.com/outlying","followers_url":"https://api.github.com/users/outlying/followers","following_url":"https://api.github.com/users/outlying/following{/other_user}","gists_url":"https://api.github.com/users/outlying/gists{/gist_id}","starred_url":"https://api.github.com/users/outlying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outlying/subscriptions","organizations_url":"https://api.github.com/users/outlying/orgs","repos_url":"https://api.github.com/users/outlying/repos","events_url":"https://api.github.com/users/outlying/events{/privacy}","received_events_url":"https://api.github.com/users/outlying/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-14T10:06:45Z","updated_at":"2016-07-14T13:54:22Z","closed_at":"2016-07-14T13:54:22Z","body":"Currently, code is skipping all Android tests since Jacoco tasks are based on `test${sourceName.capitalize()}UnitTest`\r\n\r\nI'm not sure if this is intended or not, but further, in code plugin ignores a lot of Android related stuff\r\n\r\n    private static ArrayList<String> getExcludes() {\r\n        ['**/R.class',\r\n         '**/R$*.class',\r\n         '**/*$$*',\r\n         '**/*$ViewInjector*.*',\r\n         '**/*$ViewBinder*.*',\r\n         '**/BuildConfig.*',\r\n         '**/Manifest*.*',\r\n         '**/*$Lambda$*.*', // Jacoco can not handle several \"$\" in class name.\r\n         '**/*Dagger*.*', // Dagger auto-generated code.\r\n         '**/*MembersInjector*.*', // Dagger auto-generated code.\r\n         '**/*_Provide*Factory*.*' // Dagger auto-generated code.\r\n        ]\r\n    }\r\n\r\nThis suggests that coverage should include instrumentation tests as well"}}
{"actor":{"display_login":"outlying"}}