test setup
parent
2bb71cfb1c
commit
3dd6faea6c
|
|
@ -10,6 +10,13 @@ repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.test {
|
||||||
|
useJUnitPlatform()
|
||||||
|
testLogging {
|
||||||
|
events("passed", "skipped", "failed")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
testing {
|
testing {
|
||||||
suites {
|
suites {
|
||||||
val test by getting(JvmTestSuite::class) {
|
val test by getting(JvmTestSuite::class) {
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,7 @@ dependencies {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(libs.bundles.hoplite)
|
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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
package de.itkl.modConfiguration.loaders
|
package de.itkl.modConfiguration.loaders
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test
|
||||||
|
|
||||||
class AccountLoaderTests {
|
class AccountLoaderTests {
|
||||||
@Test
|
@Test
|
||||||
fun testAccountLoad() {}
|
fun testAccountLoad() {}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue