Session
Should I avoid using testify and any other assertion library?
I’ve often wondered why the official Go guidelines advise against using ‘assert’ libraries for testing. It’s intriguing, especially when I think about how testify has become so popular in our community. I’ve used it myself, and I know how helpful it can be. But over time, I’ve also come to see why Go’s approach to testing is different.
In this session, I’ll share my experiences working with testing libraries across various Go projects - from complex network applications to reusable libraries like OpenTelemetry Go. We’ll dive into the practical implications of using (or avoiding) testing libraries, discuss real-world examples, and explore how Go’s philosophy influences the way we write tests. Whether you’re a seasoned developer or just starting out, let’s challenge our assumptions and rethink how we approach testing in Go.

Robert Pająk
OpenTelemetry Go maintainer, Principal Software Engineer @ Splunk
Kraków, Poland
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top