intellij icon indicating copy to clipboard operation
intellij copied to clipboard

[Android Studio] `android_instrumentation_test` test button not working on Kotlin test targets

Open ThomasCJY opened this issue 3 years ago • 1 comments

Background IDE Test Run configuration button doesn't work if android instrumentation test is written in kotlin.

The root cause is that KotlinTestContextProvider only handles kotlin tests, not android tests, and AndroidTestContextProvider only handles java android tests, but not kotlin tests. We need a solution to handle both of them at the same time.

Proposed Fix My proposed fix is https://github.com/bazelbuild/intellij/pull/2319. After the fix, I verified the test button works for android_instrumentation_test

ThomasCJY avatar Jan 27 '21 06:01 ThomasCJY

Duplicate #2613

sgowroji avatar Jan 29 '24 16:01 sgowroji