mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-24 14:47:39 +00:00
Added comprehensive tests to document and verify the session ID fix: TunnelServerTests: - Tests for session creation capturing UUID from tty-fwd stdout - Validation of error handling when session ID is missing - API endpoint tests for session input validation - Integration test scenarios for full session lifecycle SessionIdHandlingTests: - UUID format validation tests - Session ID parsing from various response formats - URL encoding and path construction tests - Regression test documenting the specific bug that was fixed - Tests for parsing tty-fwd session list responses These tests use Swift Testing framework with: - @Test attributes and #expect assertions - Parameterized tests for multiple test cases - Tags for categorization (.sessionManagement, .regression) - .bug trait to link tests to specific issues The tests serve as both validation and documentation of the fix where the Swift server now correctly captures and returns the actual session UUID from tty-fwd instead of its own generated name. |
||
|---|---|---|
| .. | ||
| Utilities | ||
| SessionIdHandlingTests.swift | ||
| TunnelClientTests.swift | ||
| TunnelServerTests.swift | ||
| VibeTunnelTests.swift | ||