commit | 0173a5fc8bfe3de7174e9ca15728fbc7219b28e7 | [log] [tgz] |
---|---|---|
author | Marc Guillemot <mguillemot@yahoo.fr> | Fri Aug 28 11:55:06 2020 +0200 |
committer | tibordigana <tibor.digana@gmail.com> | Sat Jan 23 02:22:12 2021 +0100 |
tree | f3c592d2db7b9037b62120428d1bd4d96cc5f9a5 | |
parent | 51f9d5ef942bec95a7d656259fbc109832a2ef84 [diff] |
[SUREFIRE-1856] Updated documentation for the TestNG Provider - may not disable JUnit in suiteXmlFiles
Usage of maven-surefire-plugin, maven-failsafe-plugin, maven-surefire-report-plugin
Build the Surefire project using Maven 3.1.0+ and JDK 1.8+.
In order to run tests for a release check during the Vote, the following memory requirements are needed:
On Linux/Unix:
export MAVEN_OPTS="-server -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50 -Djava.awt.headless=true -Dhttps.protocols=TLSv1.2"
On Windows:
set MAVEN_OPTS="-server -Xmx256m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=384m -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50 -Djava.awt.headless=true -Dhttps.protocols=TLSv1.2"
In order to run the tests with JDK 1.7 (on Linux/Unix modify the system property jdk.home):
mvn install site site:stage -P reporting,run-its "-Djdk.home=e:\Program Files\Java\jdk1.7.0_80\"
In order to run the build and the tests with JDK 1.8+, e.g. JDK 11:
mvn install site site:stage -P reporting,run-its "-Djdk.home=e:\Program Files\Java\jdk11\"
See http://maven.apache.org/developers/website/deploy-component-reference-documentation.html