Ok, then can you please fix the documentation? - Mockito (you can remove it from docs completely) will work as before, if it runs under JVM — no problems, if it runs under Dalvik/ART — there is a solution with dexmaker library. Nothing changed here. - Jacoco won't work for instrumentation tests but will still work for JVM tests.
You can write something like: "connectedAndroidTest" Gradle task won't work with tools relying on java bytecode generation, such as Jacoco. "test" Gradle task will still go through javac — nothing changed here. Thanks for clarification! On Friday, March 11, 2016 at 2:04:52 PM UTC+3, Michal Bendowski wrote: > > The Gradle plugin should compile your code with the old tools if you > request unit tests to run (even if you have enabled jack and your APKs are > built using jack). If it doesn't work for you, please file a bug. > > Michal > > On Friday, March 11, 2016 at 4:33:43 AM UTC, Artem Zinnatullin wrote: >> >> Just realized that if you say that Jacoco won't work it means that "test" >> Gradle task does not use javac -> no JVM testing support yet.. >> >> If so — it should be definitely mentioned in the docs because it's a show >> stopper for many projects. > > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
