The ibc-relayer-test
crate provides the infrastructure and framework for writing end-to-end (E2E) tests that include the spawning of the relayer together with Cosmos full nodes running as child processes inside the tests.
This documentation is best viewed as Rustdoc HTML pages. You can run the following command to build and view the documentation using cargo doc
:
cargo doc -p ibc-integration-test --open
Other than Rust, the test suite assumes the gaiad
binary is present in $PATH
. You can install Gaia by either building from source, or load it using Cosmos.nix:
nix shell github:informalsystems/cosmos.nix#gaia4
See tests::example
for an example test with
access to a full test setup.