Skip to content

Commit

Permalink
Fjerne duplikat testoppsett gradle junit (#5890)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebassonav authored Oct 1, 2024
1 parent b8a8f50 commit 96d60c5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ fun Project.setupRepositories() {
}
}
}
sub.tasks {
withType<Test> {
useJUnitPlatform()
testLogging {
events(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
}
}
}
}
}

Expand All @@ -53,8 +45,10 @@ fun Project.setupTestLogging() {
.pluginId,
)
sub.tasks.withType<Test> {
useJUnitPlatform()
maxParallelForks = hentAntallKjerner()
testLogging {
events(TestLogEvent.PASSED, TestLogEvent.SKIPPED, TestLogEvent.FAILED)
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}
Expand Down

0 comments on commit 96d60c5

Please sign in to comment.