Testing in Go
Intro I’ve been learning the Go programming language in earnest this week. (See Why Go.) I believe that test-driven development (TDD) makes me write better code, so I wanted to start with tests. Testing and assertions I found an excellent paid resource, The Go Testing Bible video series. The author, Elliot Forbes, posts free videos on his TutorialEdge YouTube channel. Go has a robust testing package in its standard library. However, the testing syntax looked strange to me because it doesn’t use test assertions like I’m used to from languages like Node (JavaScript), Ruby, Python, and (my favorite) Elm....