kotest
kotest copied to clipboard
Project-level config is not working for iOS target
Which version of Kotest are you using
Kotest version is 5.8.0
Kotlin version is 1.9.20
Project is shared Kotlin Multiplatform Mobile library consumed by Android and iOS applications.
The issue It appears Project-Level Config is not supported on non-JVM targets (I've tested iOS only). Android target picks up config properly while iOS completely ignores it.
Not sure if that is not implemented yet, but looking to this commit it seems so.
Are there any plans to add support of that feature or at least updating documentation to clearly state that?
It appears to work if I change AbstractProjectConfig
subclass from object
to class
So do you think we should just document it as such @OSemenovBoyarka? As I understand, you made it work with a simple change to the definition, right?
@LeoColman yep, that is true, simple change made that work. I think clearly highlighting it in documentation should fix the problem.
Also documentation lack information of which project config features are working with JVM targets only (ones I've faced - AutoScan
and isolationMode
are applied to JVM only).
Updated docs to specify class and marked in javadoc which options are jvm only.