# multiplatform

Janelle Fullen

05/07/2020, 5:31 PM
Hi, is there a way to include the test classes of one subproject into another subproject so it can use them in its tests? I can't find a way to do this that works with my setup (I'm using the android plugin and multiplatform, and not the java plugin).


05/07/2020, 5:36 PM
I've done this by defining that shared test code in the main sources of a separate module, which I then include in the tests of the other modules that need it. I'm not aware of a way to depend on another module's test code.

Janelle Fullen

05/07/2020, 5:59 PM
Yeah, I was hoping for a simpler way, but may have to go that route. Thanks for the input.