Struct forc_test::TestResult
source · pub struct TestResult {
pub name: String,
pub duration: Duration,
pub span: Span,
pub state: ProgramState,
pub condition: TestPassCondition,
}Expand description
The result of executing a single test within a single package.
Fields§
§name: StringThe name of the function.
duration: DurationThe time taken for the test to execute.
span: SpanThe span for the function declaring this tests.
state: ProgramStateThe resulting state after executing the test function.
condition: TestPassConditionThe required state of the VM for this test to pass.