tests: added docs for tests runner's params, disabled output files

This commit is contained in:
Oleg Agafonov 2023-10-16 01:23:20 +04:00
parent b11be9d945
commit e53b0091d7

34
pom.xml
View file

@ -90,15 +90,36 @@
</configuration>
</plugin>
<plugin>
<!-- tests runner -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<!--
for compatible with jacoco code coverage - argLine moved to properties section
<version>3.1.2</version>
<configuration>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
<!--
printSummary: print elapsed time and other stats per test file
- if you disable this, you will not be able to trace the name of the test
from where the logs are printed
- failed tests will be shown anyway
-->
<printSummary>true</printSummary>
<!--
reportFormat: summary format
- brief: print total elapsed time only
- plain: print brief + elapsed time for each test name
-->
<reportFormat>brief</reportFormat>
<!--
useFile: enable txt and xml reports in .\target\surefire-reports
- useless, so disable it for more performance
-->
<useFile>false</useFile>
<!-- for compatible with jacoco code coverage - argLine moved to properties section
<argLine>-Dfile.encoding=UTF-8</argLine>
-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -204,7 +225,8 @@
<!-- Sonar settings for code coverage. Must be only one report for all modules (use report-aggregate goal report from JaCoCo) -->
<aggregate.report.dir>Mage.Verify/target/site/jacoco-aggregate/jacoco.xml</aggregate.report.dir>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../${aggregate.report.dir}</sonar.coverage.jacoco.xmlReportPaths>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../${aggregate.report.dir}
</sonar.coverage.jacoco.xmlReportPaths>
</properties>
<dependencies>