MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / fixture

Function fixture

crates/runner-shared/src/telemetry/tests.rs:85–87  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

83const V1_LOGS_FIXTURE: &str = "testdata/telemetry_logs_v1.msgpack.zst";
84
85fn fixture(path: &str) -> std::path::PathBuf {
86 Path::new(env!("CARGO_MANIFEST_DIR")).join(path)
87}
88
89fn write<R: TelemetryRow + Clone>(path: &Path, batches: &[&[R]]) {
90 let mut writer = TelemetryWriter::<R>::create(path).unwrap();

Calls

no outgoing calls

Tested by

no test coverage detected