Isolate E2E tests from real tmux sessions #193
Labels
No labels
bug
contract
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/iw-cli#193
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Running E2E tests currently spawns real tmux sessions and can detach or interfere with actual work sessions. This creates several issues:
Expected Behavior
E2E tests should:
Possible Solutions
Mock tmux adapter in tests
Use custom tmux socket
tmux -L test-socket-nameTest in container/sandbox
Session naming prefix + cleanup
iw-test-Recommended Approach
Custom tmux socket (#2) seems like the best balance:
Acceptance Criteria
Additional Context
This issue should be addressed before implementing CI automation (#191), since CI will run these tests on every commit.
Closed by
73db21efix(test): Isolate E2E tests from real tmux server and dashboard