Orchestrata Ultimate › Tests › Reference › scripts › test_run_tests_streaming

Tests reference — tests/scripts/test_run_tests_streaming.py

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

Prose pending.

tests/scripts/test_run_tests_streaming.py

source · 19 tests · 260 lines

Tests for scripts/run_tests_streaming.py — the live per-module streaming runner.

Kind Name Line Description
function test_expand_keeps_explicit_py_paths_in_order 40
function test_expand_dedupes_repeated_paths 45
function test_expand_keeps_nodeid_literal_not_globbed 50 A pytest node id (module.py::test_name) is a single literal
function test_expand_keeps_class_scoped_nodeid_literal 62
function test_expand_globs_directory_for_test_star_py 67
function test_expand_strips_trailing_slash 82
function test_summary_extracts_last_pytest_summary_line 95
function test_summary_prefers_last_of_multiple_matches 100
function test_summary_falls_back_to_error_field 108
function test_summary_falls_back_to_no_summary_literal 113
function test_run_one_success 123
function test_run_one_failure 137
function test_run_one_timeout 151
function test_run_one_generic_exception_for_bad_executable 165
function test_main_no_modules_matched_returns_0 181
function test_main_all_passing_returns_0 194
function test_main_targeted_nodeid_runs_only_that_test 210 End-to-end proof for the sanctioned single-test dev path: a bare
function test_main_with_failure_returns_1_and_prints_tail 234
function test_main_multiple_modules_default_pytest_args 249