ibc-test-framework

Crates.ioibc-test-framework
lib.rsibc-test-framework
version0.29.4
sourcesrc
created_at2022-05-23 14:43:21.212659
updated_at2024-11-20 15:54:47.453432
description Framework for writing integration tests for IBC relayers
homepagehttps://hermes.informal.systems/
repositoryhttps://github.com/informalsystems/hermes
max_upload_size
id591860
size516,455
Luca Joss (ljoss17)

documentation

README

IBC Relayer Integration Test Framework

Overview

The ibc-test-framework 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.

Installation

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#gaia11

Alternatively, you can use $CHAIN_COMMAND_PATH to override with a different executable that is compatible with gaiad.

Examples

Example tests written using ibc-test-framework can be found in the ibc-rs project repository

Diagrams

Some diagrams have been prepared to ease the understanding of the test framework:

Commit count: 1965

cargo fmt