First of all, you need to checkout the goloop
repository.
$ git clone [email protected]:icon-project/goloop.git
$ cd goloop
$ make gochain-image
If the command runs successfully, it generates the docker image like the following.
$ docker images goloop/gochain
REPOSITORY TAG IMAGE ID CREATED SIZE
goloop/gochain latest f0f98ef0d461 2 minutes ago 511MB
Before running testsuite, you need to clean javaee
build objects that were generated during the docker image build.
$ make javarun-clean
Then, run the following command under testsuite
directory.
$ cd testsuite
$ ./gradlew testJavaScore -DUSE_DOCKER=true
Note that the above command is only for running Java SCORE test cases. For more information about other available test targets, please check the testsuite README.
Hello,
./gradlew testJavaScore -DUSE_DOCKER=true
fails for me with errorLikely culprit:
grep: ./data/chainenv/java.props: No such file or directory
All previous steps work. Please advise how I can run these tests without error.
EDIT: Seems that this works when already running goloop. I was able to get it to run using gochain-local.