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.
The
build.gradle
undertestsuite
would automatically start the docker container,goloop/gochain
(notgoloop/gochain-icon
), when you specify-DUSE_DOCKER=true
property. So you do not need to start the gochain-local docker beforehand, which is usinggoloop/gochain-icon
.