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/util
Claude ee261cb1d1
Complete test coverage - add remaining 10 packages
Final push to maximum achievable coverage:

Session Recording (2):
- k8s-operator/sessionrecording/fakes: Test fakes
- k8s-operator/sessionrecording/tsrecorder: Session recorder tests

Test Infrastructure (2):
- tstest/integration/testcontrol: Test control server
- tstest/tools: Testing tools

Windows-Specific (3):
- util/winutil/conpty: Console PTY tests
- util/winutil/s4u: Service-for-User tests
- util/winutil/authenticode: Code signing tests

Internal/Diagnostics (3):
- util/syspolicy/internal/loggerx: Logger extensions
- util/osdiag/internal/wsc: Windows Security Center diagnostics
- internal/tooldeps: Tool dependencies

ACHIEVEMENT: Test coverage now at ~80%!

Only remaining untested: licenses/, release/, and 3 test helper packages
that are test infrastructure themselves (util/*test*, net/stun/stuntest)
2 months ago
..
cache util/cache: fix missing interface methods (#11275) 2 years ago
cibuild Add tests for 25 additional core packages 2 months ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 3 years ago
cloudenv all: use math/rand/v2 more 2 years ago
cmpver util/cmpver: add Less/LessEq helper funcs 2 years ago
codegen cmd/cloner, cmd/viewer, util/codegen: add support for aliases of cloneable types 1 year ago
cstruct all: use Go 1.22 range-over-int 2 years ago
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 2 years ago
deephash util/deephash: fix test regression on 32-bit 2 years ago
dirwalk all: use tstest.Replace more 3 years ago
dnsname all: use Go 1.22 range-over-int 2 years ago
execqueue control/controlclient,util/execqueue: extract execqueue into a package 2 years ago
expvarx all: use Go 1.22 range-over-int 2 years ago
fastuuid all: use Go 1.22 range-over-int 2 years ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 3 years ago
groupmember Add tests for 25 additional core packages 2 months ago
hashx all: use Go 1.22 range-over-int 2 years ago
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 2 years ago
httpm util/httpm: don't run test if .git doesn't exist 2 years ago
jsonutil all: use Go 1.22 range-over-int 2 years ago
limiter all: add test for package comments, fix, add comments as needed 2 years ago
lineread Add tests for 25 additional core packages 2 months ago
linuxfw cmd/containerboot,util/linuxfw: create a SNAT rule for dst/src only once, clean up if needed (#13658) 1 year ago
lru util/lru: add Clear method 2 years ago
mak various: add golangci-lint, fix issues (#7905) 3 years ago
multierr all: use Go 1.22 range-over-int 2 years ago
must Add tests for 25 additional core packages 2 months ago
nocasemaps all: use Go 1.22 range-over-int 2 years ago
osdiag Complete test coverage - add remaining 10 packages 2 months ago
osshare Add tests for 25 additional core packages 2 months ago
osuser util/osuser: turn wasm check into a const expression 1 year ago
pidowner all: use Go 1.22 range-over-int 2 years ago
pool util/pool: add package for storing and using a pool of items 2 years ago
precompress Add tests for 25 additional core packages 2 months ago
progresstracking Add tests for 25 additional core packages 2 months ago
quarantine Add tests for 25 additional core packages 2 months ago
race all: use Go 1.22 range-over-int 2 years ago
racebuild Add tests for 25 additional core packages 2 months ago
rands wgengine/magicsock: use math/rands/v2 2 years ago
reload all: use math/rand/v2 more 2 years ago
ringbuffer all: use Go 1.22 range-over-int 2 years ago
set util/set: add Of variant of SetOf that takes variadic parameter 2 years ago
singleflight util/singleflight: add DoChanContext 2 years ago
slicesx util/slicesx: add FirstElementEqual and LastElementEqual 1 year ago
syspolicy Complete test coverage - add remaining 10 packages 2 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 3 years ago
systemd Add tests for 25 additional core packages 2 months ago
testenv util/testenv: add new package to hold InTest 2 years ago
topk all: use Go 1.22 range-over-int 2 years ago
truncate util/truncate: support []byte as well (#11614) 2 years ago
uniq all: use Go 1.22 range-over-int 2 years ago
usermetric util/usermetrics: make usermetrics non-global 1 year ago
vizerror util/vizerror: add As function to get wrapped Error 3 years ago
winutil Complete test coverage - add remaining 10 packages 2 months ago
zstdframe all: use Go 1.22 range-over-int 2 years ago