Testing
2 min read
Pop quiz: pass or fail?
I'm launching a new live course: **Idiomatic Testing in Go**. The course begins May 5. Early-bird pricing is in effect until April 28. Why Go avoids assert libraries Better alternatives to mocks Make writing tests fun! Today’s post is a taste of what we’ll cover. See pricing & reserve → Pop quiz. Does this testify assertion pass or fail? var x []int y := []int{} require.Equal(t, x, y) If you’re like me, you have no idea.