thana
07/04/2019, 7:26 AMjsTest
depend on the commonTest
set of a different module? i'd like to provide some common test files for several modules...Alexey Belkov [JB]
07/04/2019, 9:02 AMthana
07/04/2019, 10:40 AMrusshwolf
07/04/2019, 4:09 PMsharedTests
module that defines your tests in commonMain
, and then depending on :sharedTests
from the test code of other modules. There’s some rough edges though. For example if you try this in JS on 1.3.40 you’ll very likely run into https://youtrack.jetbrains.com/issue/KT-31917kotlin.srcDirs()
but the IDE complains when files are duplicated across multiple sourceSets/modules in that way.thana
07/05/2019, 4:37 AM