Ensuring your applications are tested thoroughly is an essential part of any developers work. All changes to your application’s core logic should ideally be captured within tests to ensure that, as your application grows in complexity and size, it doesn’t regress in terms of the functionality and end up impacting customers.
By taking a diligent approach to our testing, we can help to ensure that the systems that we are building are stable and reliable. With a solid test suite, we can also help to improve the speed at which we develop our applications as we remove the need for manual tests to be done.
Improved testing gives you the confidence to make changes to the codebase quickly and roll out new features to customers as and when they are ready.
Throughout this course, we’ll be covering everything it takes to get started properly testing your Go applications. From unit testing, all the way through to integration testing and finally a quick overview of End-2-End testing.
- Formatting and Linting
- Table Driven Tests and Sub tests
- Creating Test Suites with Testify
- Differentiating Tests with Build Tags
- Unit Testing Your Go Apps
- Benchmarking Performance
- Mocking with vektra/mockery
- How to create integration tests for HTTP REST APIs