()
| 771 | |
| 772 | #[test] |
| 773 | fn report_passes_when_required_checks_pass() { |
| 774 | let check = VerificationCheck::required("check:build", "run_build", "Run build") |
| 775 | .with_status(VerificationStatus::Passed); |
| 776 | |
| 777 | let report = VerificationReport::new("turn", vec![check]); |
| 778 | |
| 779 | assert_eq!(report.status, VerificationStatus::Passed); |
| 780 | assert!(report.is_complete()); |
| 781 | } |
| 782 | |
| 783 | #[test] |
| 784 | fn report_fails_when_any_check_fails() { |
nothing calls this directly
no test coverage detected