
Explore unit testing for Golang developers with real-world examples, starting from the basics and guiding newcomers who come from other languages.
Explore the Go test command, its two execution modes, and how test caching reuses previous results to speed up running tests across packages.
Learn to craft clear test failure messages in Go using the testing package, log and logf, and error or errorf to explain why tests fail.
Explore mocks in unit testing for Go developers, learning to assert method calls and verify a user is not registered when bad words are found, while contrasting with stubs.
Complete the unit testing for Go developers course and stay updated. Reach out if you’re missing content so we can talk about it, and I hope you learned a lot.
In this course, you will learn how Go developers are testing their Go code in the companies. We will use only real world problems and we will show all the examples using code.
You will learn the concepts of unit testing, the Go testing package and Testify, the most used library for tests in Go.
If you came from another languages. I'm sure you are trying to figure out how to apply the same concepts using Golang, in this course we will answer all your questions.
And if Go is your first language or you don't know much about unit testing, don't worry, we will cover everything, from the basic to advanced.