The project comes with Arquillian based integration tests. To run the integration tests, you need a local running Java EE application server and Ethereum client node.
The integration tests use geth
.
Download geth
from: https://geth.ethereum.org/
Start a geth
Ethereum client node in development mode via:
geth --dev --http --http.api personal,eth,net,web3 --dev.period 0 --ws --allow-insecure-unlock
The integration tests can run against WildFly or JBoss EAP.
Start WildFly via:
cd wildfly-26.1.2.Final/bin ./standalone.sh --server-config=standalone-full.xml
Run the integration tests via:
mvn clean install -Pintegration-tests-wildfly
Start JBoss EAP via:
cd jboss-eap-6.4/bin ./standalone.sh --server-config=standalone-full.xml
Run the integration tests via:
mvn clean install -Pintegration-tests-jboss-eap
Start JBoss EAP via:
cd jboss-eap-7.4/bin ./standalone.sh --server-config=standalone-full.xml
Run the integration tests via:
mvn clean install -Pintegration-tests-wildfly