In my project I have a module where I store the co...
# gradle
z
In my project I have a module where I store the common code for all my other modules to depend upon. I also have some utility code for testing functionality Modules that depend on it are able to access the code just fine, but in the test sources they cannot. Is there a way to fix that? I am using Kotlin multiplatform in my project
r
Is that utility testing code in the main sourceset of the common module or inside your test folders? You need to have it in the main sourceset, the code inside tests folders is not accesible from other modules AFAIK.
Also, depending what you are doing, you might wanna look into test fixtures