MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_provenance_summary

Function test_provenance_summary

atomic-core/src/change/provenance/tests.rs:259–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257
258#[test]
259fn test_provenance_summary() {
260 let prov = Provenance::builder()
261 .vendor(AIVendor::Anthropic)
262 .model("claude-sonnet-4")
263 .tool(AITool::editor("zed"))
264 .suggestion_type(SuggestionType::Collaborative)
265 .build();
266
267 let summary = prov.summary();
268 assert!(summary.contains("anthropic"));
269 assert!(summary.contains("claude-sonnet-4"));
270 assert!(summary.contains("zed"));
271}
272
273#[test]
274fn test_provenance_display() {

Callers

nothing calls this directly

Calls 6

suggestion_typeMethod · 0.80
vendorMethod · 0.80
buildMethod · 0.45
toolMethod · 0.45
modelMethod · 0.45
summaryMethod · 0.45

Tested by

no test coverage detected