TestSmokeE2E starts a real server and exercises the full product flow: - Phase 1: Health check (liveness probe) - Phase 2: Capture all 5 HTTP methods, verify stored - Phase 3: Inspect page renders HTML with request cards, replay UI, SSE script - Phase 4: SSE stream receives live events on capture - Phase 5: Mock configuration and response (set mock → capture returns mock) - Phase 6: Replay a captured request to a sink server - Phase 7: Edge cases (query params, binary body, SSRF protection) The one-command gate: go test ./cmd/hatch -run TestSmokeE2E -v Also fix .gitignore: the bare 'hatch' entry was matching cmd/hatch/ directory, preventing test files from being tracked. Narrowed to /hatch (root binary only) and hatch.exe. Co-Authored-By: Paperclip <noreply@paperclip.ing>
24 lines
143 B
Plaintext
24 lines
143 B
Plaintext
# Go
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
*.test
|
|
*.out
|
|
go.work
|
|
|
|
# Build
|
|
/bin
|
|
/dist
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
/hatch
|
|
hatch.exe
|