Trait forge::NetworkTest

source ·
pub trait NetworkTest: Test {
    // Required method
    fn run<'t>(&self, ctx: &mut NetworkContext<'t>) -> Result<()>;
}
Expand description

The testing interface which defines a test written with full control over an existing network. Tests written against this interface will have access to both the Root account as well as the nodes which comprise the network.

Required Methods§

source

fn run<'t>(&self, ctx: &mut NetworkContext<'t>) -> Result<()>

Executes the test against the given context.

Implementors§