Orchestrata Ultimate › Tests › Reference › scripts › test_seed_component_dag

Tests reference — tests/scripts/test_seed_component_dag.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_seed_component_dag.py

source · 6 tests · 323 lines

Tests for scripts/seed_component_dag.py -- the seed tool for the

Covers: knowledge_graph.architecture_writer, core.graph/ (package)

Kind Name Line Description
function test_table_integrity 84 10 rows; unique names; every depends_on entry names a row; no self-dependency;
function test_seed_writes_component_nodes_and_depends_on_edges 134 After seed_component_dag(writer, project=slug) — 10 Component nodes exist
function test_adr_0112_shape_tools_does_not_depend_on_kernel 186 Tools DEPENDS_ON contracts, knowledge_graph, governance — and NOT kernel
function test_idempotency 242 Run seed twice on the same slug — node and edge counts unchanged.
function test_dry_run 280 --dry-run returns 0, prints target and all components, and writes ZERO nodes.
function test_main_end_to_end 307 main(["--project", slug]) returns 0 and the 10 nodes exist.