this is my jacoco setup https://pastebin.com/twUNzNXc
i have declare the test depends on ":feature_response_api:testReleaseCandidateDevUnitTest" but I don't know why, if I run the test through ./gradlew jacocoTestReport it will run with all the build variant example ":feature_response_api:testDebugUnitTest", ":feature_response_api:testReleaseCandidateStagingUnitTest" but if I run with ./gradlew :feature_response_api:testReleaseCandidateDevUnitTest its work fine On Friday, October 9, 2020 at 9:08:53 PM UTC+8 Wahyu Permadi wrote: > Hello, I want to ask, how to setup jacoco with an android test that > running on Junit 4 and 5 ? > ex: I have 2 unit test files > UserViewModelTest => run with jUnit 4 > MemberViewModelTest => run with jUnit 5 (Using spek framework) > > when I run ./gradlew testDebugUnitTest its work fine > but when I run with ./gradlew jacocoTestReport its run unit test on all > build variant, > > > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/c86b2df5-03b5-4957-9d7d-b22897f8e8a8n%40googlegroups.com.
