MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test_validate_valid_config

Function test_validate_valid_config

src/project_config/tests.rs:104–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103#[test]
104fn test_validate_valid_config() {
105 let config = ProjectConfig {
106 options: Some(ProjectOptions {
107 walltime: Some(WalltimeOptions {
108 warmup_time: Some("1s".to_string()),
109 max_time: Some("10s".to_string()),
110 min_time: Some("2s".to_string()),
111 max_rounds: None,
112 min_rounds: None,
113 }),
114 working_directory: Some("./bench".to_string()),
115 }),
116 benchmarks: None,
117 };
118
119 assert!(config.validate().is_ok());
120}
121
122#[test]
123fn test_load_from_path() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected