a small standalone test suite for MicroProfile on WF/EAP
- JDK 8+
- Docker
Maven is not a hard requirement as mvnw
is delivered with this repository.
Podman with docker command bridge can be used as a Docker alternative.
mvn clean verify
./mvnw clean verify
mvn clean verify -Darquillian.deploymentExportPath=target/deployments/
./mvnw clean verify -Darquillian.deploymentExportPath=target/deployments/
mvn clean verify -pl microprofile-health -Djboss.home=/Users/rsvoboda/Downloads/wildfly-18.0.0.Final
./mvnw clean verify -pl microprofile-health -Djboss.home=/Users/rsvoboda/Downloads/wildfly-18.0.0.Final
mvn clean verify -pl microprofile-health
./mvnw clean verify -pl microprofile-health
Please note allowConnectingToRunningServer
property in arquillian.xml
.
Can be used to ensure code changes are compilable, -Djboss.home=foo
is workaround to skip unpacking of WildFly zip.
mvn clean verify -DskipTests -DskipITs -Djboss.home=foo
./mvnw clean verify -DskipTests -DskipITs -Djboss.home=foo
Distribution bundle contains this testsuite, pre-loaded local maven repository and dump of Docker images used in tests.
Creation of the eap-microprofile-test-suite-dist.zip
bundle is managed via ./mp-ts.sh
script.
This script assumes that all the necessary artifacts present in ${user.home}/.m2/repository/
, in other words that the TS was compiled and executed on local machine prior the bundle creation.
Bundle creation:
./mp-ts.sh dist-zip
Execution on target machine:
unzip -q eap-microprofile-test-suite-dist.zip
./mp-ts.sh dist-run
Tests output is redirected into ${TEST_FQCN}-output.txt
files in target/surefire-reports/
directory.
For more details consult with mp-ts.sh
script
Code gets formatted and imports ordered during the build time (process-sources phase) automatically.
mvn process-sources
./mvnw process-sources
Naming convention: $MAJOR.$MINOR.$MICRO.Final-SNAPSHOT
(1.0.0.Final-SNAPSHOT
)
Start with 1.0.0.Final
Naming convention: $MAJOR.$MINOR.$MICRO.Final
(1.0.0.Final
)
New WildFly major version is released and covers a MicroProfile update
Naming convention: $MAJOR.$MINOR.z
(1.0.z
)
No branches unless really needed
mvn release:prepare release:clean
In order to skip tests run following command:
mvn release:prepare release:clean -Darguments=-DskipTests
With commands you are able to define a release, a tag and a next development version name in interactive way.