On Wednesday, 4 October 2017 22:01:27 UTC-7, Mirko Friedenhagen wrote: > Hello, at my company we use jacoco with mockito all the time, power-mockito > or any framework which manipulates the classes when loading them is more > tricky. > > > Regards > Mirko > -- > Sent from my mobile > > > Am 05.10.2017 03:37 schrieb <[email protected]>: > I've banging my head against the wall trying to make JaCoCo include coverage > for tests that use Mockito. I'm writing unit & instrumentation test for > Android and JaCoCo keep yielding 0% code coverage for the tests that use > Mockito to mock objects. > > > > Can someone please confirm if JaCoCo works with Mockito? > > > > I have a question in SO with all the details, so please feel free to take a > look > https://stackoverflow.com/questions/46517471/jacoco-mockito-android-tests-zero-coverage-reported > > > > Cheers! > > > > -- > > 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/d558e2cc-6697-47eb-a1f2-59dd4905325d%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout.
I know you can't release the secret sauce that you use in your company to use jacoco + mockito, but it'd be great if you can point me in the right directions. Maybe some tutorial or similar resource that might help me to get this working. I've searched for days and haven't been able to make it work. -- 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/952c665b-73ba-4c49-b272-5d8b2b27b71e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
