Skip to content Skip to sidebar Skip to footer

Android: Unit Testing With Gradle

I have the following unit test that I can run just fine in android studio, but I am trying to get it set up for continuous integration so I will need gradle to be able to run it.

Solution 1:

You need to have at least 1.1.0-rc1 (2015/02/02) android gradle plugin

Unit testing support. Unit testing code is run on the local JVM, against a special version of android.jar that is compatible with popular mocking frameworks (e.g. Mockito).

http://tools.android.com/tech-docs/new-build-system

Post a Comment for "Android: Unit Testing With Gradle"