MCPcopy Create free account
hub / github.com/AI45Lab/Code / create_test_run_records

Function create_test_run_records

core/src/store/tests.rs:88–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86}
87
88async fn create_test_run_records() -> Vec<RunRecord> {
89 let runs = crate::run::InMemoryRunStore::new();
90 let run = runs.create_run("session/a", "persist run").await;
91 runs.record_event(
92 &run.id,
93 crate::agent::AgentEvent::Start {
94 prompt: "persist run".to_string(),
95 },
96 )
97 .await;
98 runs.records().await
99}
100
101// ========================================================================
102// FileSessionStore Tests

Calls 3

create_runMethod · 0.80
recordsMethod · 0.80
record_eventMethod · 0.45

Tested by

no test coverage detected