()
| 605 | |
| 606 | #[test] |
| 607 | fn test_record_has_required_fields() { |
| 608 | let graph = sherpa_graph(); |
| 609 | let tmp = tempfile::tempdir().unwrap(); |
| 610 | let record = to_agent_trace_record(&graph, tmp.path()); |
| 611 | |
| 612 | assert_eq!(record.version, "0.1.0"); |
| 613 | assert!(!record.id.is_empty()); |
| 614 | assert!(!record.timestamp.is_empty()); |
| 615 | assert_eq!(record.tool.name, "sherpa"); |
| 616 | } |
| 617 | |
| 618 | #[test] |
| 619 | fn test_record_has_dev_atomic_metadata() { |
nothing calls this directly
no test coverage detected