Trait forge::AdminTest

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

The testing interface which defines a test written from the perspective of the Admin of the network. This means that the test will have access to the Root account but do not control any of the validators or full nodes running on the network.

Required Methods§

source

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

Executes the test against the given context.

Implementors§