Hi Weijian, Have you found out the solution?
On Thursday, November 4, 2021 at 3:36:22 PM UTC+5:30 weijian ni wrote: > In Android module,the test dir, > code like this: > @RunWith(RobolectricTestRunner.class) > public class UserTest { > @Test > public void user() { > User user = new User(2, "aaa", 1, ""); > assertEquals(2, user.getUserId()); > } > } > > run jacoco, coverage is zero, but when remove > “@RunWith(RobolectricTestRunner.class)”, the coverage is ok,why?how can > fix it? > -- 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 jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/6d15dec2-baba-4137-9072-a2ba824a4e4fn%40googlegroups.com.