Trait forge::NetworkTest
source · [−]pub trait NetworkTest: Test {
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
fn run<'t>(&self, ctx: &mut NetworkContext<'t>) -> Result<()>
fn run<'t>(&self, ctx: &mut NetworkContext<'t>) -> Result<()>
Executes the test against the given context.