Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test: split monolithic test file into focused test modules

Steven Enamakel64e3809fb377
diff --git a/crates/openhuman-core/src/flows/builder_tools_tests_part_05_tests.rs b/crates/openhuman-core/src/flows/builder_tools_draft_id_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/builder_tools_tests_part_05_tests.rs
rename to crates/openhuman-core/src/flows/builder_tools_draft_id_tests.rs
diff --git a/crates/openhuman-core/src/flows/builder_tools_tests_part_02_tests.rs b/crates/openhuman-core/src/flows/builder_tools_dry_run_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/builder_tools_tests_part_02_tests.rs
rename to crates/openhuman-core/src/flows/builder_tools_dry_run_tests.rs
diff --git a/crates/openhuman-core/src/flows/builder_tools_tests_part_01_tests.rs b/crates/openhuman-core/src/flows/builder_tools_reads_and_catalog_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/builder_tools_tests_part_01_tests.rs
rename to crates/openhuman-core/src/flows/builder_tools_reads_and_catalog_tests.rs
diff --git a/crates/openhuman-core/src/flows/builder_tools_tests_part_03_tests.rs b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/builder_tools_tests_part_03_tests.rs
rename to crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
diff --git a/crates/openhuman-core/src/flows/builder_tools_tests.rs b/crates/openhuman-core/src/flows/builder_tools_tests.rs
index 505ae5b0e5..36214d422e 100644
--- a/crates/openhuman-core/src/flows/builder_tools_tests.rs
+++ b/crates/openhuman-core/src/flows/builder_tools_tests.rs
@@ -218,13 +218,13 @@ fn cancel_test_approval_gated_graph() -> Value {
})
}
-#[path = "builder_tools_catalog_tests.rs"]
-mod catalog_tests;
+#[path = "builder_tools_reads_and_catalog_tests.rs"]
+mod reads_and_catalog_tests;
#[path = "builder_tools_dry_run_tests.rs"]
mod dry_run_tests;
-#[path = "builder_tools_draft_tests.rs"]
-mod draft_tests;
-#[path = "builder_tools_persistence_tests.rs"]
-mod persistence_tests;
-#[path = "builder_tools_module_doc_tests.rs"]
-mod module_doc_tests;
+#[path = "builder_tools_save_and_edit_tests.rs"]
+mod save_and_edit_tests;
+#[path = "builder_tools_validate_and_create_tests.rs"]
+mod validate_and_create_tests;
+#[path = "builder_tools_draft_id_tests.rs"]
+mod draft_id_tests;
diff --git a/crates/openhuman-core/src/flows/builder_tools_tests_part_04_tests.rs b/crates/openhuman-core/src/flows/builder_tools_validate_and_create_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/flows/builder_tools_tests_part_04_tests.rs
rename to crates/openhuman-core/src/flows/builder_tools_validate_and_create_tests.rs