Skip to content

Commit

Permalink
test: add unitTest target to TypeHandlerLibrary and facades (#4940)
Browse files Browse the repository at this point in the history
  • Loading branch information
keturn authored Nov 5, 2021
1 parent b613aa1 commit 36e88a1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build-logic/src/main/kotlin/facade.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,13 @@ dependencies {
// Make sure all module dependencies are available to the game in cacheModules.
"modules"(project(":modules"))
}

tasks.register<Test>("unitTest") {
group = "Verification"
description = "Runs unit tests (fast)"

useJUnitPlatform {
excludeTags("MteTest", "TteTest")
}
systemProperty("junit.jupiter.execution.timeout.default", "1m")
}
10 changes: 10 additions & 0 deletions subsystems/TypeHandlerLibrary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,13 @@ dependencies {

testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.5.2")
}

tasks.register<Test>("unitTest") {
group = "Verification"
description = "Runs unit tests (fast)"

useJUnitPlatform {
excludeTags("MteTest", "TteTest")
}
systemProperty("junit.jupiter.execution.timeout.default", "1m")
}

0 comments on commit 36e88a1

Please sign in to comment.