()
| 624 | |
| 625 | #[test] |
| 626 | fn test_record_has_required_fields() { |
| 627 | let graph = sherpa_graph(); |
| 628 | let tmp = tempfile::tempdir().unwrap(); |
| 629 | let record = to_agent_trace_record(&graph, tmp.path()); |
| 630 | |
| 631 | assert_eq!(record.version, "0.1.0"); |
| 632 | assert!(!record.id.is_empty()); |
| 633 | assert!(!record.timestamp.is_empty()); |
| 634 | assert_eq!(record.tool.name, "sherpa"); |
| 635 | } |
| 636 | |
| 637 | #[test] |
| 638 | fn test_record_has_dev_atomic_metadata() { |
nothing calls this directly
no test coverage detected