From e172f371583ec5bb3e18c4b8a62d742b5b88f44a Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 22 Oct 2025 20:13:52 +0200 Subject: [PATCH] test(base): added some tests to improve the coverage (#47) Reviewed-on: https://git.janis-eccarius.de/KnockOutWhist/KnockOutWhist/pulls/47 Co-authored-by: Janis Co-committed-by: Janis --- build.sbt | 4 ++-- knockoutwhist | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 2d99d91..535154e 100644 --- a/build.sbt +++ b/build.sbt @@ -19,7 +19,6 @@ lazy val commonSettings = Seq( .map(m => "org.openjfx" % s"javafx-$m" % "21" classifier osName) }, libraryDependencies += guice, - Test / testOptions += Tests.Filter(_.equals("de.knockoutwhist.TestSequence")), coverageEnabled := true, coverageFailOnMinimum := true, coverageMinimumStmtTotal := 85, @@ -29,7 +28,8 @@ lazy val commonSettings = Seq( lazy val knockoutwhist = project.in(file("knockoutwhist")) .settings( 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")) diff --git a/knockoutwhist b/knockoutwhist index e17ab6a..8645d4a 160000 --- a/knockoutwhist +++ b/knockoutwhist @@ -1 +1 @@ -Subproject commit e17ab6a5527263a36465021d4f172536d5a235d9 +Subproject commit 8645d4a21996cd175494cd2c4f3c4012ee28741e