Skip to content

Commit 477c4f9

Browse files
author
Piotr Kubicki
committed
ci(test): integrate Allure reporting with Maven
Added Allure dependencies and `maven-surefire-report-plugin` for better test reporting. This improves test visibility in GitHub Actions and generates detailed execution reports.
1 parent b57c88c commit 477c4f9

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

pom.xml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
<groupId>org.flywaydb</groupId>
5151
<artifactId>flyway-core</artifactId>
5252
</dependency>
53-
5453
<dependency>
5554
<groupId>org.springframework.boot</groupId>
5655
<artifactId>spring-boot-devtools</artifactId>
@@ -77,6 +76,11 @@
7776
<artifactId>spring-security-test</artifactId>
7877
<scope>test</scope>
7978
</dependency>
79+
<dependency>
80+
<groupId>io.qameta.allure</groupId>
81+
<artifactId>allure-junit5</artifactId>
82+
<version>2.25.0</version>
83+
</dependency>
8084
</dependencies>
8185

8286
<build>
@@ -105,6 +109,23 @@
105109
</excludes>
106110
</configuration>
107111
</plugin>
112+
<plugin>
113+
<groupId>org.apache.maven.plugins</groupId>
114+
<artifactId>maven-surefire-report-plugin</artifactId>
115+
<version>3.1.2</version>
116+
</plugin>
117+
<plugin>
118+
<groupId>io.qameta.allure</groupId>
119+
<artifactId>allure-maven</artifactId>
120+
<version>2.11.2</version>
121+
<executions>
122+
<execution>
123+
<goals>
124+
<goal>report</goal>
125+
</goals>
126+
</execution>
127+
</executions>
128+
</plugin>
108129
</plugins>
109130
</build>
110131

0 commit comments

Comments
 (0)