Skip to content

Commit e97dfeb

Browse files
committed
OAK-11390 Generate aggregate UT/IT reports with profile "pedantic"
That helps to quickly check which tests take particularly long
1 parent 64fd6ad commit e97dfeb

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

pom.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,39 @@ An announcement mail template can be found at:
285285
</plugins>
286286
</build>
287287
</profile>
288+
<profile>
289+
<id>pedantic</id>
290+
<build>
291+
<plugins>
292+
<!-- create aggregate HTML reports on unit and integration tests -->
293+
<plugin>
294+
<groupId>org.apache.maven.plugins</groupId>
295+
<artifactId>maven-surefire-report-plugin</artifactId>
296+
<inherited>false</inherited>
297+
<configuration>
298+
<aggregate>true</aggregate>
299+
<linkXRef>false</linkXRef>
300+
</configuration>
301+
<executions>
302+
<execution>
303+
<id>aggregate-ut-reports</id>
304+
<phase>verify</phase>
305+
<goals>
306+
<goal>report-only</goal>
307+
</goals>
308+
</execution>
309+
<execution>
310+
<id>aggregate-it-reports</id>
311+
<phase>verify</phase>
312+
<goals>
313+
<goal>failsafe-report-only</goal>
314+
</goals>
315+
</execution>
316+
</executions>
317+
</plugin>
318+
</plugins>
319+
</build>
320+
</profile>
288321
</profiles>
289322

290323
</project>

0 commit comments

Comments
 (0)