test: clarify repo-level test layout#170
Conversation
Greptile SummaryThis PR reorganizes the repo-level
Confidence Score: 5/5Safe to merge — pure reorganization with no logic changes; all findings are minor style/consistency issues. Both findings are P2: one is a doc inconsistency (missing command in CONTRIBUTING.md) and the other is a pre-existing pattern not harmonized during the move (hardcoded ports). Neither affects runtime behavior or test correctness. CONTRIBUTING.md (missing Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
T[test/]
T --> H[helpers/ shared unit-test fixtures]
T --> C[cli/ black-box CLI contracts]
T --> S[session/ daemon broker session-CLI]
T --> P[pty/ live PTY-driven UI integration]
T --> SM[smoke/ opt-in TTY transcript checks]
C --> CE[entrypoint.test.ts]
S --> SE[broker-e2e.test.ts]
S --> SC[cli.test.ts]
S --> SD[daemon.test.ts]
P --> PH[harness.ts]
P --> PI[ui-integration.test.ts]
SM --> ST[tty.test.ts]
|
Summary
test/cli,test/session,test/pty, andtest/smokeWhy
Top-level
test/files had grown into a mix of CLI, session, PTY, and smoke coverage, but the layout and filenames did not make that intent obvious. This makes the repo-level test tree easier to scan and keeps PTY integration and TTY smoke coverage distinct.Validation
bun testbun run test:integrationbun run test:tty-smoke