Integration Tests

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.

Ethereum client node

The integration tests use geth.

Download geth from: https://geth.ethereum.org/

geth

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

Java EE Application Server

The integration tests can run against WildFly or JBoss EAP.

WildFly

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

JBoss EAP 6

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

JBoss EAP 7

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