Commit 2cf953b7 authored by Franck Desaize's avatar Franck Desaize
Browse files

Add Allure

parent 48b06973
Pipeline #272838 failed with stages
in 4 minutes and 22 seconds
......@@ -82,3 +82,4 @@ target/
**/.classpath
**/.project
**/.allure/**
......@@ -12,6 +12,11 @@
<name>Patient Registry Feed Client</name>
<version>2.0.1-SNAPSHOT</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
......@@ -46,7 +51,18 @@
<artifactId>lib.unit-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.3</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-selenide</artifactId>
<version>2.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -13,12 +13,22 @@
<name>Patient Registry Search Client</name>
<version>2.0.1-SNAPSHOT</version>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<!-- Logger Model -->
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>framework.logger-service</artifactId>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
......@@ -27,11 +37,6 @@
<groupId>net.ihe.gazelle</groupId>
<artifactId>app.patient-registry-api</artifactId>
</dependency>
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>lib.unit-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>lib.gitb-processing-client</artifactId>
......@@ -42,7 +47,20 @@
</dependency>
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>lib.search-model-api</artifactId>
<artifactId>lib.unit-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-ri</artifactId>
<version>2.3.3</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-selenide</artifactId>
<version>2.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -22,6 +22,7 @@
<postgresql.gazelle.login>gazelle</postgresql.gazelle.login>
<postgresql.gazelle.password>changeIt</postgresql.gazelle.password>
<postgresql.gazelle.name>pam-simulator-PR-test</postgresql.gazelle.name>
<allure-junit5.version>2.14.0</allure-junit5.version>
</properties>
<build>
......@@ -180,6 +181,11 @@
<artifactId>commons-text</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-junit5</artifactId>
<version>${allure-junit5.version}</version>
</dependency>
</dependencies>
<profiles>
<profile>
......@@ -384,8 +390,8 @@
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>3.0.0-M4</version>
<artifactId>common-junit48</artifactId>
<version>3.0.0-M5</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -57,5 +57,11 @@
<version>2.3.3</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-selenide</artifactId>
<version>2.14.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -26,7 +26,8 @@
<dependency.check.skip>true</dependency.check.skip>
<cvss.score.level.tolerate>8</cvss.score.level.tolerate>
<nexus.url>https://gazelle.ihe.net/nexus</nexus.url>
<aspectj.version>1.8.10</aspectj.version>
<aspectj.version>1.9.7</aspectj.version>
<junit.jupiter.version>5.8.0-M1</junit.jupiter.version>
<nexus.path>/content/groups/public/</nexus.path>
<java.version>11</java.version>
<maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
......@@ -78,20 +79,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
<version>3.0.0-M3</version>
<configuration>
<properties>
<property>
<name>listener</name>
<value>io.qameta.allure.junit5.AllureJunit5</value>
</property>
</properties>
<dependenciesToScan>
<dependency>net.ihe.gazelle:lib.unit-test</dependency>
</dependenciesToScan>
......@@ -104,15 +100,36 @@
<name>junit.jupiter.extensions.autodetection.enabled</name>
<value>true</value>
</property>
<property>
<name>allure.results.directory</name>
<value>${project.basedir}/target/allure-results</value>
</property>
</systemProperties>
</configuration>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.jupiter.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.jupiter.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.10.0</version>
<configuration>
<reportVersion>2.4.1</reportVersion>
<allureDownloadUrl>https://github.com/allure-framework/allure-maven/archive/refs/tags/2.10.0.zip</allureDownloadUrl>
</configuration>
</plugin>
<plugin>
......@@ -325,9 +342,8 @@
</dependency>
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-selenide</artifactId>
<artifactId>allure-junit5</artifactId>
<version>2.14.0</version>
<scope>test</scope>
</dependency>
<dependency>
<scope>test</scope>
......
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