-
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
Tests ran with the kotest plugin ignore unmock #235
Comments
Possibly related to the #178? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still relevant and a major pain point - It prevents us from running individual tests of any code that includes utility Android classes, for example Location class. |
Yeah kotest plugin doesn't use gradle, so anything setup there won't work. |
Yeah that's why I marked #178 as related - this issue is meant as another use case for running gradle instead of IntelliJ. But we can merge them if desired. |
unmock is a gradle plugin that allows using android utility classes (such as Uri, Location, TextUtils etc.) within unit tests.
Unfortunately it does not seem to work with the kotest IntelliJ plugin, kotest seems to completely ignore unmock's existence.
Steps to reproduce:
java/com/matejdro/kotestunmock/ExampleUnitTest.kt
with gradleBUG: Test will fail
The text was updated successfully, but these errors were encountered: