I try to run Kotlin instrumentation tests for android.
In my app/build.gradle:
android { dataBinding { enabled = true
I got this error when I have some parameters in my test method. So, if you have it - delete it.
@Test fun someTestMethod(someParams: Int) { // delete method params assert(1==1) }