Redowan's Reflections
Redowan's Reflections
Redowan
Redowan Delowar's reflections on software, systems, and sundry.
Latest Posts
Avoid brittle AI-generated tests that check implementation details. Write maintainable tests that verify behavior, not method calls.
Early return and goroutine leak
Prevent goroutine leaks caused by early returns with unbuffered channels. Learn buffering, draining, errgroup patterns, and goleak testing.
Lifecycle management in Go tests
Master Go test lifecycle with t.Cleanup(), subtests, and TestMain. Learn per-test, grouped, and package-wide setup patterns effectively.