Trait forge::PublicUsageTest
source · pub trait PublicUsageTest: Test {
// Required method
fn run<'t>(&self, ctx: &mut PublicUsageContext<'t>) -> Result<()>;
}
Expand description
The testing interface which defines a test written from the perspective of the a public user of the network in a “testnet” like environment where there exists a funding source and a means of creating new accounts.
Required Methods§
sourcefn run<'t>(&self, ctx: &mut PublicUsageContext<'t>) -> Result<()>
fn run<'t>(&self, ctx: &mut PublicUsageContext<'t>) -> Result<()>
Executes the test against the given context.