github.com/fortytw2/leaktest (go): Package leaktest provides tools to detect leaked goroutines in tests. To use it, call "defer leaktest.Check(t)()" at the beginning of each test that may use goroutines. copied out of the cockroachdb source tree with slight modifications to be more re-useable
Keywords: go|goroutine|leak-detection|test-helper