Testing the Application and Domain with Unit Tests

Understand unit testing in Go, with a focus on table-driven testing, and utilizing test doubles for thorough code validation.

The system under test for a unit test is the smallest unit we can find in our application. In applications that are written in Go, this unit will be a function or method on a struct:

Get hands-on with 1400+ tech skills courses.