In this chapter, we will cover the following recipes:
- Mocking using the standard library
- Using the Mockgen package
- Using table-driven tests to improve coverage
- Using third-party testing tools
- Practical fuzzing
- Behavior testing using Go
In this chapter, we will cover the following recipes: