https://kotlinlang.org logo
Title
a

alexfacciorusso

10/06/2020, 5:45 PM
Good news, I’ve managed to get a Robolectric test to work with a local updated version of the Kotest Robolectric extension. Work in progress about both Robolectric and Android support for it, I hope to release PRs at a certain point!
🎉 3
l

LeoColman

10/06/2020, 6:01 PM
nice1
a

alexfacciorusso

10/07/2020, 9:08 AM
So, I would consider the work on moving the Robolectric extension and updating versions etc to the main repo done. I’ve tried to create an Android submodule in the tests module in order to have a proof that the extension works, but it is not passing giving me runtime errors regarding some internal Robolectric classes not found. Although, the extension seems to be perfectly working if I use an external project linked with the library produced by kotest, so I think it’s mostly a problem regarding the definitely weird nature of adding an android project as a sub-sub-module of a multiplatform project
I was thinking that we might temporarily remove the android project from the repo so the test is not failing anymore, and we then could consider the PR mergeable