I have a project that using Robolectric for unit test purpose. This project uses Robolectric 3.0 and need to add -ea and -noverify options in Virtu
-ea
-noverify
It is already answered but this may be an easier solution:
In your application modules' build.gradle file in android closure, add this.
build.gradle
android { .... testOptions { unitTests.all { jvmArgs '-noverify' } } }