RSSAmplifier

Jakub Jarosz · Jan 15, 2026

Simplify Go Tests with cmp

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

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?

Read on /code/simplify-go-tests-with-cmp/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.