This directory provides a convenient way for relayer
developers to run a small suite of IBC compatibility tests.
Use make ibctest
from the root directory to run these tests.
This is provided as a nested module so that go test ./...
from the root of the relayer
repository
will continue to run only the faster unit tests.
If you are developing a new relayer test for ibctest
, you may want to run:
go mod edit -replace=github.com/strangelove-ventures/ibctest=../../../strangelove-ventures/ibctest
from this directory. Be sure to drop the replace, with:
go mod edit -dropreplace=github.com/strangelove-ventures/ibctest
before you commit.
If you would like to point to a specific version of ibctest
, you can do so using a commit hash.
From the relayer/ibctest directory, run:
go get github.com/strangelove-ventures/ibctest@<COMMIT_HASH_HERE>
Your go.mod file should update respectively.