Wire up the cleaned up driver implementation

This commit is contained in:
Omar Abdulla
2025-09-30 13:39:25 +03:00
parent c3c7203af8
commit 8762702560
12 changed files with 450 additions and 827 deletions
+5
View File
@@ -106,6 +106,7 @@ impl ReportAggregator {
RunnerEvent::ContractDeployed(event) => {
self.handle_contract_deployed_event(*event);
}
RunnerEvent::Completion(event) => self.handle_completion(*event),
}
}
debug!("Report aggregation completed");
@@ -382,6 +383,10 @@ impl ReportAggregator {
.insert(event.contract_instance, event.address);
}
fn handle_completion(&mut self, _: CompletionEvent) {
self.runner_rx.close();
}
fn test_case_report(&mut self, specifier: &TestSpecifier) -> &mut TestCaseReport {
self.report
.test_case_information
+2
View File
@@ -613,6 +613,8 @@ define_event! {
/// The address of the contract.
address: Address
},
/// Reports the completion of the run.
Completion {}
}
}