Golang Digest
2.52K subscribers
164 photos
1 video
190 links
Everything about Go: news, articles, tools, language changes, etc.

#go #golang #concurrency #postgres #database #db
Download Telegram
Optimising and Visualising Go Tests Parallelism: Why more cores don't speed up your Go tests ❤️

This article discusses optimizing parallelism in Go tests, focusing on how Go’s t.Parallel() method can improve test performance by allowing certain tests to run concurrently. It also explains why adding more CPU cores doesn’t always speed up tests and introduces a custom tool for visualizing test execution.

Link to the article

#go #article #tests
Please open Telegram to view this post
VIEW IN TELEGRAM
2🔥731
Fuzz Testing Go HTTP Services 🤡

As a developer, you can't envision all of the possible inputs your programs or functions could receive. Even though you can define the major edge cases, you still can't predict how your program will behave in the case of some weird unexpected input. In other words, you can only find bugs you expect to find. That's where fuzz testing or fuzzing comes to the rescue.


Link to the article

#go #article #testing #tests
Please open Telegram to view this post
VIEW IN TELEGRAM
👍31🔥1