mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
tests: added docs for tests runner's params, disabled output files
This commit is contained in:
parent
b11be9d945
commit
e53b0091d7
1 changed files with 27 additions and 5 deletions
32
pom.xml
32
pom.xml
|
|
@ -90,15 +90,36 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
<!-- tests runner -->
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>3.0.0-M5</version>
|
<version>3.1.2</version>
|
||||||
<!--
|
|
||||||
for compatible with jacoco code coverage - argLine moved to properties section
|
|
||||||
<configuration>
|
<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>
|
<argLine>-Dfile.encoding=UTF-8</argLine>
|
||||||
|
-->
|
||||||
</configuration>
|
</configuration>
|
||||||
-->
|
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<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) -->
|
<!-- 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>
|
<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>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue