chore: Update documentation and improve test writing guidelines

This commit is contained in:
2026-03-22 11:47:20 +01:00
parent a8abd69e0e
commit 51b210e9eb
27 changed files with 461 additions and 1762 deletions
+12 -9
View File
@@ -31,13 +31,6 @@ tasks.named<JavaExec>("run") {
standardInput = System.`in`
}
tasks.withType<Test> {
testLogging {
events("passed", "failed", "skipped")
showStandardStreams = true
}
}
tasks.test {
finalizedBy(tasks.jacocoTestReport)
}
@@ -72,8 +65,18 @@ dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.scalatest:scalatest_3:3.2.19")
testRuntimeOnly("org.junit.platform:junit-platform-engine:1.13.1")
testRuntimeOnly("org.scalatestplus:junit-5-13_3:3.2.19.0")
}
tasks.test {
useJUnitPlatform()
tasks {
test{
useJUnitPlatform {
includeEngines("scalatest")
testLogging {
events("passed", "skipped", "failed")
}
}
}
}