Commit 1ad328bb authored by Franck Desaize's avatar Franck Desaize
Browse files

Fix jacoco

parent 289bf12f
Pipeline #273218 failed with stages
in 12 minutes and 5 seconds
package net.ihe.gazelle.app.patientregistryservice.application.exceptions;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;
import io.qameta.allure.Severity;
import io.qameta.allure.SeverityLevel;
import io.qameta.allure.*;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertThrows;
@Epic("CreationCrossReferenceException")
@Feature("Coverage on exception")
class CreationCrossReferenceExceptionTest {
/**
......
package net.ihe.gazelle.app.patientregistryservice.application.exceptions;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;
import io.qameta.allure.Severity;
import io.qameta.allure.SeverityLevel;
import io.qameta.allure.*;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertThrows;
@Feature("Coverage on exception")
@Story("CreationCrossReferenceException")
class DeletionCrossReferenceExceptionTest {
/***
* Dummy Test for coverage
......
......@@ -105,6 +105,7 @@
<value>${project.basedir}/target/allure-results</value>
</property>
</systemProperties>
<argLine>${argLine} </argLine>
</configuration>
<dependencies>
<dependency>
......@@ -132,6 +133,7 @@
<allureDownloadUrl>https://github.com/allure-framework/allure-maven/archive/refs/tags/2.10.0.zip</allureDownloadUrl>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
......@@ -144,33 +146,14 @@
</goals>
</execution>
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>com.gitb.*</dependencySourceInclude>
</dependencySourceIncludes>
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
</configuration>
<executions>
<execution>
<id>package-javadocs</id>
<id>default-report</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
<goal>report</goal>
</goals>
<configuration>
<dataFile>${project.build.directory}/target/jacoco.exec</dataFile>
</configuration>
</execution>
</executions>
</plugin>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment