test(base): added some tests to improve the coverage (#47)

Reviewed-on: KnockOutWhist/KnockOutWhist#47
Co-authored-by: Janis <janis.e.20@gmx.de>
Co-committed-by: Janis <janis.e.20@gmx.de>
This commit is contained in:
2025-10-22 20:13:52 +02:00
parent d8576f669a
commit e172f37158
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,6 @@ lazy val commonSettings = Seq(
.map(m => "org.openjfx" % s"javafx-$m" % "21" classifier osName) .map(m => "org.openjfx" % s"javafx-$m" % "21" classifier osName)
}, },
libraryDependencies += guice, libraryDependencies += guice,
Test / testOptions += Tests.Filter(_.equals("de.knockoutwhist.TestSequence")),
coverageEnabled := true, coverageEnabled := true,
coverageFailOnMinimum := true, coverageFailOnMinimum := true,
coverageMinimumStmtTotal := 85, coverageMinimumStmtTotal := 85,
@@ -29,7 +28,8 @@ lazy val commonSettings = Seq(
lazy val knockoutwhist = project.in(file("knockoutwhist")) lazy val knockoutwhist = project.in(file("knockoutwhist"))
.settings( .settings(
commonSettings, commonSettings,
mainClass := Some("de.knockoutwhist.KnockOutWhist") mainClass := Some("de.knockoutwhist.KnockOutWhist"),
coverageExcludedPackages := "de.knockoutwhist.ui.*;de.knockoutwhist.utils.gui.*"
) )
lazy val knockoutwhistweb = project.in(file("knockoutwhistweb")) lazy val knockoutwhistweb = project.in(file("knockoutwhistweb"))