diff --git a/TEST_COVERAGE_SUMMARY.md b/TEST_COVERAGE_SUMMARY.md deleted file mode 100644 index 5005455..0000000 --- a/TEST_COVERAGE_SUMMARY.md +++ /dev/null @@ -1,45 +0,0 @@ -# termtap Test Coverage Summary - -Generated from: - -```bash -go test -coverprofile=/tmp/termtap.cover ./... -go tool cover -func=/tmp/termtap.cover -``` - -## Package coverage snapshot - -| Package | Coverage | -|---|---:| -| `cmd/tap` | 100.0% | -| `internal/app` | 98.1% | -| `internal/cli` | 93.4% | -| `internal/process` | 95.8% | -| `internal/proxy` | 90.0% | -| `internal/tui` | 96.2% | -| `examples/echo` | 0.0% (example app; intentionally not covered) | -| `internal/model` | no test files (pure data structs) | - -Total statements in module: **77.9%**. - -## Notable lower-coverage targets (production code) - -- `internal/proxy/handlers.go:handleConnect` — 75.9% -- `internal/proxy/certs.go:writeFileAtomically` — 76.2% -- `internal/proxy/certs.go:load` — 90.5% -- `internal/proxy/certs.go:create` — 80.8% -- `internal/proxy/certs.go:IsTrustedBySystem` — 76.9% -- `internal/cli/run.go:runCert` — 87.5% - -## Interpretation - -- Core runtime paths (`internal/app`, `internal/process`, `internal/tui`) are high confidence. -- Proxy package has broad behavior coverage including HTTP and HTTPS MITM integration flow, and now clears 90% package coverage. -- CLI command routing and fatal/stdout/stderr seams are covered, including `Run` success/error branches. -- TUI pane rendering coverage now includes error/PID branch behavior. - -## Next optional improvements - -1. Add deeper CONNECT tunnel write/flush/read failure permutations inside `handleConnect` loop. -2. Add additional deterministic edge cases for `IsTrustedBySystem` non-unknown-authority verify failures. -3. Optionally add non-unix signal file coverage in CI matrix (currently unix-focused). diff --git a/web/index.html b/web/index.html index 5e3836a..2a6ba8f 100644 --- a/web/index.html +++ b/web/index.html @@ -4,7 +4,7 @@ -
+ Download the binary for your OS from{' '} + + GitHub Releases + + : +
+
- or download a binary from{' '}
-
- GitHub releases
-
- .
+ Choose your OS/architecture asset, unpack it, and move tap
+ into your PATH. Run{' '}
+ tap cert
+ if you need the HTTPS trust path.
Supported: macOS, Linux, Windows
) } diff --git a/web/src/components/SiteHeader.tsx b/web/src/components/SiteHeader.tsx index 602c20e..3949605 100644 --- a/web/src/components/SiteHeader.tsx +++ b/web/src/components/SiteHeader.tsx @@ -42,7 +42,7 @@ export function SiteHeader({ page, onNavigate }: SiteHeaderProps) { diff --git a/web/src/components/StatusSection.tsx b/web/src/components/StatusSection.tsx index 7724db6..3a9f609 100644 --- a/web/src/components/StatusSection.tsx +++ b/web/src/components/StatusSection.tsx @@ -21,7 +21,7 @@ export function StatusSection() {
Expect rough edges, occasional breaking changes, and missing features. Bug reports and
feedback on{' '}
-
+
GitHub
{' '}
are very welcome.
diff --git a/web/src/pages/DocsPage.tsx b/web/src/pages/DocsPage.tsx
index 6105f4e..d48cbc4 100644
--- a/web/src/pages/DocsPage.tsx
+++ b/web/src/pages/DocsPage.tsx
@@ -111,20 +111,22 @@ export function DocsPage() {
- Download the latest binary from{' '}
-
+ Download the binary for your OS from{' '}
+
GitHub Releases
:
- Unpack the binary, place it on your PATH, and run Supported: macOS, Linux, Windows
If demand for other install methods grows, they can be added later.
Last updated: 2026-04-19. Questions?{' '}
-
+
Open an issue.
tap cert
+ Choose your OS/architecture asset, unpack it, and move tap
+ into your PATH. Run{' '}
+ tap cert
if you need the HTTPS trust path.