How NOT to Write a Test in Go - Amir Malka
As developers we know we have to write tests, but we also mostly hate this part of the job––many times because we just don't know where to get started. If you want to get the basics through some advanced use cases of testing in Go - this is the talk for you! In this talk we'll provide some good working practices for how to write good tests for your Golang apps. We'll start with the basics of unit testing, how to avoid tests that behave non-deterministically, as well as avoiding race conditions. We'll walk through how to incorporate a linter for good, clean code practices and testing, and how to leverage mocks and interfaces (high level design patterns). We'll wrap up with a practical example of how to properly automate and set up your tests so they run correctly through a Github Actions example.