You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kotlin-test-junit – maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;
kotlin-test-junit5 – maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;
parellel executions are enabled in egklib build:
testRuns["test"].executionTask
.configure {
useJUnitPlatform()
minHeapSize = "512m"
maxHeapSize = "2048m"
jvmArgs = listOf("-Xss128m")
// Make tests run in parallel
// More info: https://www.jvt.me/posts/2021/03/11/gradle-speed-parallel/
systemProperties["junit.jupiter.execution.parallel.enabled"] = "true"
systemProperties["junit.jupiter.execution.parallel.mode.default"] = "concurrent"
systemProperties["junit.jupiter.execution.parallel.mode.classes.default"] = "concurrent"
}
So JVM tests run in parellel, and native tests do not.
This is in commonTest, so is multiplatform.
kotest.io also has a framework and an assertions package.
Apparently uses Junit5 under the hood. Not sure how native works, but cleary more complex.
kotlin-test-common – assertions for use in common code;
kotlin-test-annotations-common – test annotations for use in common code;
kotlin-test-junit – maps the test annotations from kotlin-test-annotations-common to JUnit test annotations;
kotlin-test-junit5 – maps the test annotations from kotlin-test-annotations-common to JUnit 5 test annotations;
parellel executions are enabled in egklib build:
So JVM tests run in parellel, and native tests do not.
library("mockk", "io.mockk", "mockk").version("1.13.2")
library("kotest-property", "io.kotest", "kotest-property").version("5.5.4")
This is in commonTest, so is multiplatform.
kotest.io also has a framework and an assertions package.
Apparently uses Junit5 under the hood. Not sure how native works, but cleary more complex.
Also see
The text was updated successfully, but these errors were encountered: