1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Tests for demo runner
// Extracted for file health compliance (CB-040)
// Split into include files for file health compliance (CB-040)
use super::*;
mod tests {
// use super::*; // Unused in simple tests
#[test]
fn test_runner_basic() {
// Basic test
assert_eq!(1 + 1, 2);
}
}
mod property_tests {
use proptest::prelude::*;
proptest! {
#[test]
fn basic_property_stability(_input in ".*") {
// Basic property test for coverage
prop_assert!(true);
}
#[test]
fn module_consistency_check(_x in 0u32..1000) {
// Module consistency verification
prop_assert!(_x < 1001);
}
}
}
mod coverage_tests {
use super::*;
use std::collections::HashMap;
use tempfile::TempDir;
// DemoStep, DemoReport, DemoAnalysisResult, and Component basic tests
include!("runner_tests_step_and_report.rs");
// Repository resolution, git root, canonical path, and detect tests
include!("runner_tests_repo_resolution.rs");
// DemoRunner operations and render_step_highlights tests
include!("runner_tests_runner_operations.rs");
// DemoReport render tests with steps
include!("runner_tests_report_with_steps.rs");
// Serialization, edge cases, helper, and async tests
include!("runner_tests_serialization_and_edge_cases.rs");
}