Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_test_results_store

Tests reference — tests/knowledge_graph/test_test_results_store.py

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

Prose pending.

tests/knowledge_graph/test_test_results_store.py

source · 11 tests · 448 lines

Covers: knowledge_graph.canonical_schema, knowledge_graph.test_results_store, core.graph/ (package)

Kind Name Line Description
function test_save_single_result 56
function test_save_multiple_results 108
function test_invalid_run 156
function test_invalid_run_not_a_record 161 save_run rejects a non-None, non-TestRunRecord value (e.g. a dict).
function test_invalid_run_empty_project 167 save_run rejects a TestRunRecord with an empty project -- the
function test_invalid_run_bad_result_item 178 save_run rejects a TestRunRecord whose results list holds a non-
function test_get_tests_covering_and_affected_tests 190 get_tests_covering / get_affected_tests read back real COVERS edges.
function test_save_run_merges_test_run_on_canonical_id 223 TestRun's canonical merge key is id (SPEC-106
function test_covers_writer_merges_function_on_canonical_project_qualified_id 275 The COVERS writer's Function id is the canonical, project-qualified
function test_covers_writer_distinct_projects_same_function_name_yield_two_nodes 321 Two projects sharing the SAME function qualified_name must get TWO
function test_covers_writer_double_write_idempotent 387 Saving two different runs in the same project, both covering the SAME