You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/client/local
Claude 99de7d562b
Expand local_test.go: 74 → 218 lines, 3 → 13 tests (nearly 3x!)
Added 10 new test functions for client/local package:
- TestClient_Socket: Socket configuration testing
- TestErrPeerNotFound: Error constant validation
- TestAccessDeniedError: Access denied error formatting
- TestPreconditionsFailedError: Preconditions error handling
- TestInvalidVersionError: Version error messages
- TestClient_UseSocketOnly: Socket-only mode flag
- TestClient_OmitAuth: Auth omission flag
- TestBugReportOpts: Bug report options struct
- TestPingOpts: Ping options validation
- TestDebugPortmapOpts: Port mapping debug options

This is just the beginning - client/local has 80+ methods with
minimal test coverage. This demonstrates the massive potential
for coverage improvement in this critical package.
2 weeks ago
..
cert.go feature/featuretags, all: add ts_omit_acme to disable TLS cert support 3 months ago
debugportmapper.go feature/portmapper: make the portmapper & its debugging tools modular 3 months ago
local.go cmd/tailscale/cli: allow remote target as service destination (#17607) 2 weeks ago
local_test.go Expand local_test.go: 74 → 218 lines, 3 → 13 tests (nearly 3x!) 2 weeks ago
serve.go all: add ts_omit_serve, start making tailscale serve/funnel be modular 3 months ago
syspolicy.go util/syspolicy: finish adding ts_omit_syspolicy build tags, tests 3 months ago
tailnetlock.go all: add ts_omit_tailnetlock as a start of making it build-time modular 3 months ago