test setup

main
Timo Bryant 2024-04-22 20:59:19 +02:00
parent 2bb71cfb1c
commit 3dd6faea6c
3 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,13 @@ repositories {
mavenCentral()
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
testing {
suites {
val test by getting(JvmTestSuite::class) {

View File

@ -4,4 +4,7 @@ dependencies {
dependencies {
implementation(libs.bundles.hoplite)
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

View File

@ -1,5 +1,7 @@
package de.itkl.modConfiguration.loaders
import org.junit.jupiter.api.Test
class AccountLoaderTests {
@Test
fun testAccountLoad() {}