vibetunnel/VibeTunnelTests
Peter Steinberger d36dd7bb1e Add Swift Testing tests for session ID handling
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.
2025-06-16 18:30:12 +02:00
..
Utilities Update MockHTTPClient imports 2025-06-16 16:16:04 +02:00
SessionIdHandlingTests.swift Add Swift Testing tests for session ID handling 2025-06-16 18:30:12 +02:00
TunnelClientTests.swift Added health endpoint 2025-06-16 17:17:40 +02:00
TunnelServerTests.swift Add Swift Testing tests for session ID handling 2025-06-16 18:30:12 +02:00
VibeTunnelTests.swift Add macOS app foundation with release infrastructure (#1) 2025-06-15 23:14:29 +02:00