We utilize the interchaintest testing suite.
All tests are located in the interchaintest folder.
- Docker (running)
- Golang
- If you don't already have heighliner installed, install it. Otherwise, skip this step.
Heighliner is a tool used to help streamline the creation of the docker image we'll create in step 2.
make get-heighliner
- Create local docker image that contains the
noble
binary. If you make any code changes, you'll want to re-make the image before running tests.
make local-image
-
Now we can run the tests. There are two ways to run the test.
a. If you are using VS Code you can simply click the
run test
button above each test. For this to work, you may need to install the Go extension to VS Code.b. Or you can run it from the command line:
cd interchaintest go test -v -run <NAME_OF_TEST> # Example go test -timeout 10m -v -run TestCCTP_DepForBurnWithCallerOnEth