plugins/kotlin/all-tests-compose/ReadMe.md
To create tests together with Compose, it is required to create a new module for the tests. A new module is required because the tests will have to run with the Compose IDE plugin being present at runtime, which is not expected for regular tests.
After the module was created, add the module as runtime dependency to this all-tests-compose module
org.jetbrains.kotlin.idea.compose.k2.*.You can use the tests-compose utilities module to get access to the composeCompilerJars.
If the compiler is setup (e.g. for debugger evaluate expression), the passing those jars with -Xplugin is required.
If the compose runtime is required, then the current maven coordinates can also be found in thetests-compose module.