Go Testing Essential Learning Path

Go Testing Essential Learning Path

Usually, when I start out to learn something for the first time, I hit up the usual suspects: Pluralsight, Udemy, Linkedin Learning, etc. I really love learning programming topics via video training. For me, I find the instructors usually drop little tidbits of knowledge throughout the course, which is often not included in blog posts.

Usually, when I start out to learn something for the first time, I hit up the usual suspects: Pluralsight, Udemy, Linkedin Learning, etc. I really love learning programming topics via video training. For me, I find the instructors usually drop little tidbits of knowledge throughout the course, which is often not included in blog posts. However, when really trying to deep dive into unit testing in Go, I found these resources lacking.

Unit testing in Go is a pretty straight-forward task, which is awesome. And this is also why you can find a lot of resources on the basics of testing in Go. When searching for something more targeted, like mocking with interfaces, it can be harder to find quality content. I have put together this list of links to Pluralsight, YouTube, documentation, and blog posts that really helped me dive deeper into testing in Go.

This is not a definitive list, and I will do my best to update it over time as I run across new resources. However, if you’re new to testing in Go, or haven’t been going deeper than the standard testing package, this post may be beneficial to you.


The Basics

You have to start somewhere, and learning the basics of unit testing in Go is actually very well covered. Here are some resources to get started.

  • Go — Testing Package Documentation: I always like to start with the official documentation, even though it's not the best resource when you’re first getting started. However, read over this, as once you get in deep you’ll be coming back to this site over and over!
  • Pluralsight — Creating Well-tested Applications in Go: This is a great course of the basics of unit testing in Go. It's a wonderful introduction to unit testing, benchmark testing, and profiling.
  • YouTube — Testing and Benchmarking in Go Workshop: There is some overlap with the Pluralsight course here, but if you don’t have access to Pluralsight this is an excellent course. Even if you have access, I still recommend watching both.

HTTP Testing

I find that the majority of code I write in Go these days are REST services. Luckily, testing your endpoints is very easy and these links can walk you through how to do it.

unit-testing programming benchmark-testing golang software-development python

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.

Hire Python Developers

Are you looking for experienced, reliable, and qualified Python developers? If yes, you have reached the right place. At **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")**, our full-stack Python development services...

Hire Python Developers India

Looking to build robust, scalable, and dynamic responsive websites and applications in Python? At **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")**, we constantly endeavor to give you exactly what you need. If you need to...

Is Software Testing a Good for Career?

Software testing training in noida provided by CETPA. Searching for best and recognised advanced Software testing Course in Noida, then enrol with ‘CETPA .

Best Software Development Company in Melbourne

Software Development Company in Sydney, Melbourne. Vrinsoft is Australia based Software Development Agency provides software solutions to increase your sales, reduce costs, and automates business processes with cost-effective, high-quality software development services.