Colton Idle
08/06/2024, 12:27 AMephemient
08/06/2024, 12:30 AM./gradlew jvmTest
will run tests in the jvmTest
source set, which includes commonTest
, and similarly for other platforms. ./gradlew allTests
will run all the test tasks for all the platforms, which will result in tests in the commonTest
source set being re-run on every platformephemient
08/06/2024, 12:36 AMcommonTest
when it's reasonably easy but IMO it's fine to have some tests on only JVM too. if the code under test is really platform-independent, then even testing on one platform should give reasonable coverage.jw
08/06/2024, 12:47 AMorg.junit
with kotlin.test
. you're now 99% done commonizing the tests (probably)ephemient
08/06/2024, 12:57 AMCAB
08/06/2024, 11:50 AM