From b12237207440125a30e37a75264af689a581984a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=B6nnig?= Date: Fri, 11 Oct 2024 11:57:38 +0200 Subject: [PATCH] reduce jacoco minimum levels --- build.gradle | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 80e74606..178b3167 100644 --- a/build.gradle +++ b/build.gradle @@ -277,7 +277,7 @@ jacocoTestCoverageVerification { violationRules { rule { limit { - minimum = 0.92 + minimum = 0.80 // TODO.test: improve instruction coverage } } @@ -289,15 +289,20 @@ jacocoTestCoverageVerification { element = 'CLASS' excludes = [ 'net.hostsharing.hsadminng.**.generated.**', + 'net.hostsharing.hsadminng.rbac.test.dom.TestDomainEntity', 'net.hostsharing.hsadminng.HsadminNgApplication', 'net.hostsharing.hsadminng.ping.PingController', + 'net.hostsharing.hsadminng.rbac.generator.*', + 'net.hostsharing.hsadminng.rbac.grant.RbacGrantsDiagramService', + 'net.hostsharing.hsadminng.rbac.grant.RbacGrantsDiagramService.Node', + 'net.hostsharing.hsadminng.**.*Repository', 'net.hostsharing.hsadminng.mapper.Mapper' ] limit { counter = 'LINE' value = 'COVEREDRATIO' - minimum = 0.98 + minimum = 0.75 // TODO.test: improve line coverage } } rule { @@ -311,7 +316,7 @@ jacocoTestCoverageVerification { limit { counter = 'BRANCH' value = 'COVEREDRATIO' - minimum = 1.00 + minimum = 0.00 // TODO.test: improve branch coverage } } }