pub trait BinaryNodeTest {
    // Required method
    fn run(
        &self,
        config: &TestConfig,
        node_a: FullNode,
        node_b: FullNode
    ) -> Result<(), Error>;
}
Expand description

This trait is implemented for test cases that need to have two full nodes running without the relayer being setup.

The test case is given two FullNode which represents the two running full nodes.

Test writers can use this to implement more advanced test cases which require manual setup of the relayer, so that the relayer can be started and stopped at a suitable time within the test.

Required Methods§

source

fn run( &self, config: &TestConfig, node_a: FullNode, node_b: FullNode ) -> Result<(), Error>

Test runner

Implementors§

source§

impl<'a, Test, Overrides> BinaryNodeTest for RunBinaryChainTest<'a, Test>where Test: BinaryChainTest + HasOverrides<Overrides = Overrides>, Overrides: RelayerConfigOverride + ClientOptionsOverride,