spawn/test
A 7ba3559773
refactor: extract helpers from test_shared_common to reduce complexity (#511)
Break the 415-line test_shared_common() function in test/run.sh into
7 focused sub-functions grouped by feature:
- _test_model_validation (validate_model_id tests)
- _test_json_ssh_utils (json_escape, SSH key ops)
- _test_syntax_and_logging (syntax check, logging functions)
- _test_browser_and_cloud_init (open_browser, cloud-init, connectivity)
- _test_oauth_functions (wait_for_oauth_code, cleanup_oauth_session)
- _test_ssh_wait (generic_ssh_wait success/failure)
- _test_input_and_server_validation (safe_read, validate_server_name)

Also add assert_common_succeeds and assert_common_fails helpers to
eliminate repeated test boilerplate for simple pass/fail assertions.

Agent: complexity-hunter

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-11 12:53:40 -08:00
..
fixtures QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00
mock.sh feat: Add RamNode cloud provider with OpenStack API support (#408) 2026-02-11 01:36:02 -08:00
qa-dry-run.sh QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00
record.sh fix: prevent shell/Python injection in env var and credential handling (#443) 2026-02-11 04:50:34 -08:00
run.sh refactor: extract helpers from test_shared_common to reduce complexity (#511) 2026-02-11 12:53:40 -08:00
update-readme.py QA-Bot setup (#335) 2026-02-10 19:51:07 -08:00