task copyTestClasses(type: Copy) {
from "build/tmp/kotlin-classes/debugUnitTest"
into "build/intermediates/classes/debug"
}

task copySdkClasses(type: Copy) {
from "build/tmp/kotlin-classes/debug"
into "build/intermediates/classes/debug"
}


추가 후에 Run 설정에서 defaults 에서 junit 과 Instrumented test 에 2개를 추가해준다. 



+ Recent posts