test(xce-test-cli-ux): build reusable pty-driven black-box CLI harness
clitest_spawn/send_line/send_partial/send_tab/send_signal/wait_for_text/ wait_for_exit/kill_and_reap launch the real compiled xce_test behind a genuine pty (so isatty/g_interactive/libedit behave as a real terminal), with stderr routed to a separate pipe for real stream-separation testing. All waits are poll()-bounded with an explicit timeout so a future regression can't hang the whole test suite. This is the shared infrastructure tasks 2.3, 3.5, and all of Validation phase (4.1-4.4) will build their black-box scenarios on top of. One smoke test proves launch/send/capture/exit-code/stream-separation end to end. 1290/1290 controller suite passing (+1). Task 1.7 of .kiro/specs/xce-test-cli-ux/tasks.md. Foundation phase (1.1-1.7) now complete. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019jaMf9QEwpugH2W9KAuc7f
This commit is contained in:
parent
b70228c558
commit
4d1f247674
5 changed files with 593 additions and 2 deletions
|
|
@ -175,6 +175,7 @@ controller_unit_test_src = [
|
|||
'testsuite/test_interruptcall.c',
|
||||
'testsuite/interruptcall.c',
|
||||
'testsuite/test_xcetest_process_entry.c',
|
||||
'testsuite/test_test_cli.c',
|
||||
'testsuite/test_persist_snapshot_entities.c',
|
||||
'testsuite/test_apply_seam.c',
|
||||
'testsuite/test_apply_committed_entry.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue