-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Studio run from Kotest pannel can't find classes #260
Comments
Just wanted to report this very issue: whole spec works, single tests don't and fails with Android Studio Giraffe | 2022.3.1 I will try to fight, but this might just be the death of Kotest in our team, IDE integration is very important, this issue basically prevents us from debugging a single test in a comfortable way. Yes, there are workarounds, like disabling all the other tests, but DX suffers greatly. |
I tried adding |
I have same issue. Running the whole spec works, running the single test doesn't:
|
Similar issue for me, Running the whole spec works fine, but running a single tests result in UnsatisfiedLinkError because of missing android.util.Log.
|
Same issue here:
Is the team working on it? Currently we're deciding if we change our whole test suite to Kotest. Definitely, this is a stopper for us. We can provide another sample project if it adds value. |
Kotest version:
5.6.2
Kotest IntelliJ plugin version:
1.3.69-IC-2022.2
Android Studio version:
2022.2.1
I am unable to run a single test in Android Studio using the gutter icons.
For example, in the following screenshot:
Trying to run all tests in the spec with the double green run button works as expected, but trying to run the single test that is inside the spec alone with the single play button seems to not find classes and throws
ClassNotFoundException
for dependencies likekotlin.reflect.full.KClasses
or the test subject defined in themain
directory.This behavior also happens when running the spec or single tests from the Kotest plugin tool window.
A minimal sample project where this error shows up can be found in the following repo:
https://github.com/TraceM171/kotest-android-studio-error-sample
The text was updated successfully, but these errors were encountered: