I’m very new to compose, doing my first project and I’d love some guidance as to how to add a new test module inside a compose app, if someone can spare the time.
In short, I am struggling to find the build.gradle.kts configuration that will mirror the behavior of desktopTest (contains own set of dependencies, also includes desktopMain sources, includes desktopMain dependencies too).
The question is [here](
https://stackoverflow.com/questions/79599835/create-extra-test-module-in-compose-multiplatform-project) but I also made a small reproduceable example [here](
https://github.com/jlengrand/ExtraTestModuleExample). I tried asking Junie but it’s proposing increasingly crazy stuff 😛.
To reproduce :
• Run
./gradlew desktopTest
# All tests run successfully
• Run
./gradlew desktopChainTest
Test fails with a
NoClassDefFoundError