Update architecture docs for unified test provider (#3313) * docs: shrink documentation to new technical structure * docs: replace old provider lookup, diagram and table with updated information * docs: add breaking changes paragraph for JUnit for 3.6. * docs: move changes to provider model and new stack trace handling features to architecture.md * docs: improve distinction between old and new provider model title * docs: improve distinction between old and new provider model --------- Signed-off-by: Sebastian Tiemann <setie@mailbox.org>
Usage of maven-surefire-plugin, maven-failsafe-plugin, maven-surefire-report-plugin
Build the Surefire project using Maven 3.6.3+ and JDK 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"
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"
In order to build and run the tests:
mvn install site site:stage -P reporting,run-its
To set up the project in Eclipse IDE or IntelliJ IDEA, please follow these steps:
Build module surefire-shared-utils with profile ide-development and install it into the local maven repository using this Maven command:
mvn install -P ide-development -f surefire-shared-utils/pom.xml
In Eclipse, select File > Import ... > Maven Project
surefire-shared-utils, enter profile ide-development in Advanced -> ProfilesIn IntelliJ, select Maven > Profiles and check ide-development
See http://maven.apache.org/developers/website/deploy-component-reference-documentation.html