From 5e6e47f5c8b8b59cad41361f5b7cae18948d0b8b Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Wed, 26 Jun 2024 12:54:38 +0100 Subject: [PATCH] build: Fix tests not being run --- pom.xml | 11 ++--------- src/test/kotlin/com/vonage/client/kt/VonageTest.kt | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index cb4e553..4685286 100644 --- a/pom.xml +++ b/pom.xml @@ -118,14 +118,6 @@ org.apache.maven.plugins maven-surefire-plugin 3.3.0 - - - **/*Test.kt - - false - true - -Djava.security.manager=allow - org.jacoco @@ -133,12 +125,13 @@ 0.8.12 + jacoco-init prepare-agent - report + jacoco-report test report diff --git a/src/test/kotlin/com/vonage/client/kt/VonageTest.kt b/src/test/kotlin/com/vonage/client/kt/VonageTest.kt index 8187368..02da4b8 100644 --- a/src/test/kotlin/com/vonage/client/kt/VonageTest.kt +++ b/src/test/kotlin/com/vonage/client/kt/VonageTest.kt @@ -1,7 +1,7 @@ package com.vonage.client.kt import org.junit.jupiter.api.Test -import kotlin.test.assertNotNull +import kotlin.test.* class VonageTest {