Hi!
I'm using mockk inside KMP project with android target, and after migrating to new DSL, with androidHostTest replacing androidUnitTest, mockk is not able to load global properties from configuration file (src/test/resources/mockk.properties).
In my case it results in throwing MockKException for every not registered answer for Unit functions, as I used it mainly to specify relaxUnitFun=true globally.
MockK version: 1.14.7
Kotlin version: 2.3.0
AGP version: 9.0.0
Thank You very much for support. 😁
Hi!
I'm using mockk inside KMP project with android target, and after migrating to new DSL, with androidHostTest replacing androidUnitTest, mockk is not able to load global properties from configuration file (
src/test/resources/mockk.properties).In my case it results in throwing
MockKExceptionfor every not registered answer for Unit functions, as I used it mainly to specifyrelaxUnitFun=trueglobally.MockK version: 1.14.7
Kotlin version: 2.3.0
AGP version: 9.0.0
Thank You very much for support. 😁