Skip to content

Commit c89c1f4

Browse files
committed
Phase 5b: CLI integration tests (27) + Python bindings (797 LOC)
gp-cli integration tests (939 LOC, 27 tests): - Full binary-level testing via std::process::Command - Each test in isolated tempdir for parallelism - Coverage: init, add-drawer, search (TF-IDF ranking), navigate, status, wing/room CRUD, kg add/query, export/import, pheromones, agents, help/version, full end-to-end workflow - Uses tempfile crate for test isolation gp-python bindings (797 LOC, 22 methods): - Palace class with Mutex<SendablePalace> for thread safety - Full API: add_drawer, search, navigate, status, wing/room CRUD, knowledge graph, similarity graph, pheromones, export/import - TF-IDF vocabulary rebuild on load (same as CLI) - Auto-save after every mutation - Edition 2021 for PyO3 0.22 compat (unsafe-op-in-unsafe-fn) - cargo check + clippy -D warnings: zero issues Total: 707 tests, zero failures, zero clippy warnings. 15 Rust crates in workspace (was 13).
1 parent 9699974 commit c89c1f4

5 files changed

Lines changed: 1670 additions & 76 deletions

File tree

rust/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ members = [
1212
"gp-palace",
1313
"gp-bench",
1414
"gp-cli",
15+
"gp-python",
1516
]
1617
resolver = "2"
1718

rust/gp-cli/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ serde_json.workspace = true
3232
anyhow.workspace = true
3333
toml = "0.8"
3434
rand = { workspace = true }
35+
36+
[dev-dependencies]
37+
tempfile = "3"
38+
serde_json = { workspace = true }

0 commit comments

Comments
 (0)