Skip to content

Commit 896e318

Browse files
author
Pedro González Marcos
committed
build: add cli pretty test print to maven-surefire-plugin
1 parent 9fa20cc commit 896e318

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

pom.xml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,33 @@
226226
</dependencies>
227227
</plugin>
228228
<plugin>
229-
<groupId>org.apache.maven.plugins</groupId>
230229
<artifactId>maven-surefire-plugin</artifactId>
231-
<version>3.2.5</version>
230+
<version>3.5.2</version>
231+
<dependencies>
232+
<dependency>
233+
<groupId>me.fabriciorby</groupId>
234+
<artifactId>maven-surefire-junit5-tree-reporter</artifactId>
235+
<version>1.4.0</version>
236+
</dependency>
237+
</dependencies>
238+
<configuration>
239+
<reportFormat>plain</reportFormat>
240+
<consoleOutputReporter>
241+
<disable>true</disable>
242+
</consoleOutputReporter>
243+
<statelessTestsetInfoReporter
244+
implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter">
245+
246+
<printStacktraceOnError>true</printStacktraceOnError>
247+
<printStacktraceOnFailure>true</printStacktraceOnFailure>
248+
<printStdoutOnError>true</printStdoutOnError>
249+
<printStdoutOnFailure>true</printStdoutOnFailure>
250+
<printStdoutOnSuccess>false</printStdoutOnSuccess>
251+
<printStderrOnError>true</printStderrOnError>
252+
<printStderrOnFailure>true</printStderrOnFailure>
253+
<printStderrOnSuccess>false</printStderrOnSuccess>
254+
</statelessTestsetInfoReporter>
255+
</configuration>
232256
</plugin>
233257
<plugin>
234258
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)