Skip to content

Latest commit

 

History

History
 
 

interchaintest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Testing

We utilize the interchaintest testing suite.

All tests are located in the interchaintest folder.

How to Run tests:

Requirements:

  • Docker (running)
  • Golang
  1. 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

  1. 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

  1. 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.

    vsCode_runTest

    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