MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / loads_minimal_manifest

Function loads_minimal_manifest

atomic-agent/src/integrations/manifest.rs:143–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141
142 #[test]
143 fn loads_minimal_manifest() {
144 let tmp = tempfile::tempdir().unwrap();
145 write_manifest(
146 tmp.path(),
147 r#"
148schema = 1
149agent = "opencode"
150version = "1.0.0"
151"#,
152 );
153 let m = IntegrationManifest::load(tmp.path()).unwrap();
154 assert_eq!(m.agent, "opencode");
155 assert_eq!(m.version, "1.0.0");
156 assert!(m.files.is_empty());
157 assert!(m.settings.is_empty());
158 assert!(m.requires.atomic.is_none());
159 }
160
161 #[test]
162 fn loads_full_manifest() {

Callers

nothing calls this directly

Calls 3

write_manifestFunction · 0.70
unwrapMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected