This project is no longer under active development and has been archived. The repository is kept for historical purposes and read-only access. No further updates or pull requests will be considered.
Contains a simple test with required dependencies for you to get started with web3j-unit testing with custom docker-compose file.
Web3j-unit is a Junit 5 extension to streamline the creation of Ethereum contract tests.
This example runs Greeter
contract against a network of VMWare Concord nodes defined using a docker-compose
file.
To get started, we need to build the images of Concord locally.
Once you have Docker installed, checkout the Concord repository:
git clone https://github.com/vmware/concord.git
After that, from the Concord directory, run the build script for the Docker images:
cd concord
docker/build.images.sh
We’re ready to test using Concord.
To run the tests in this project, run
./gradlew clean build test