I have a multi module KMP Project with a nested st...
# kotest
v
I have a multi module KMP Project with a nested structure like
Copy code
shared
 | -> core
 | -> data 
 |.    |-> local 
 |.    | -> .......
 | -> domain
 | -> ui
and so on I will be doing testing in all modules Where should I place the Project configuration file for Kotest?? If I put it inside
:shared:core
will it work for all modules? Every module depends on
:shared:core
e
Depending on another module pulls in production sources, not test sources. If you're fine with adding Kotest as a dependency to your production sources you could do that. I would recommend adding a
:shared:testing
module instead, where you add shared testing code such as your Kotest project config
plus1 1
v
And by doing that, it will work for test in any module's test sourceSets which depends on
:shared:testing
?
e
it should 🙂