Jakub Jarosz

Security, Systems & Electrical Automation

Simplify Go Tests with cmp

2026-01-15 Go
The cmp package is the only package outside the Go std library that we need to test and document how the system behaves. But to ensure we describe tested behaviour, it’s good to run all the tests with gotestdox. So, what do your tests look like? Does everyone on your team understand what they test? Continue reading

Critical First Step in Go Tests

2025-08-18 Go

“I have two news for you, bad and worse,” said the mechanic. “The battery is dead and I won’t get a new one until Monday. Forget about your annual inspection today,” he continued. “But…” you started. “There is no but.” he cut short.

No setup, no testing. Just like in your Go program.

Continue reading
Older posts