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
Claude acad08d6f0
Add 30+ comprehensive tests - boost coverage to 29.3%
Massive expansion of test suite for client/tailscale:
- Added 690 new lines of test code
- Increased from 60 to 84 test functions (+40%)
- Coverage: 7.6% → 21.7% → 29.3% (×3.9 improvement!)

New tests cover:
- Profile management (ProfileStatus, SwitchProfile, DeleteProfile)
- Network features (Ping, QueryDNS, CurrentDERPMap, SuggestExitNode)
- Certificate operations (CertPair, ExpandSNIName)
- Serve/proxy config (GetServeConfig, SetServeConfig)
- Network lock/TKA (NetworkLockStatus, NetworkLockLog, NetworkLockDisable)
- Update checking (CheckUpdate, ReloadConfig)
- Feature queries and exit nodes (QueryFeature, SetUseExitNode)
- File operations (AwaitWaitingFiles)
- Debug capabilities (DebugPacketFilterRules)
- HTTP method variations and edge cases
- Timeout/cancellation behavior
- Response size limits
- JSON parsing edge cases

Total improvement over original: 7.6% → 29.3% = ×3.9 coverage increase
Total test code: 2,430 lines across 84 test functions
2 weeks ago
..
local cmd/tailscale/cli: allow remote target as service destination (#17607) 3 weeks ago
systray types/netmap: remove PrivateKey from NetworkMap 3 weeks ago
tailscale Add 30+ comprehensive tests - boost coverage to 29.3% 2 weeks ago
web all: rename variables with lowercase-l/uppercase-I 3 weeks ago