The Go Testing Bible - Course Overview

December 6, 2020

Course Instructor: Elliot Forbes

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.

Twitter: @Elliot_f

In this series, we are going to be comprehensively looking at how you can test your Go-based applications so that you can ensure your next deployment goes smoothly.

Tests are a hugely important part of any production-ready service and it’s vital that if you are developing serious applications then you should have a battery of tests covering all of the possible paths that can happen within your code.

Having these tests in place can help to validate your application will work the way you intend it to when it starts handling requests and serving your users.

In this series, we’ll be covering the following:

  • Testing your applications with unit tests
  • Calculating test coverage
  • Testing your code for race conditions
  • Testing your HTTP endpoints
  • Mocking your services with gomock

By the end of this series, you should have a solid understanding as to how you can implement a solid testing strategy for your own Go applications and help to ensure the success of your services going forward.