---
title: "#go-testing articles | Hashnode"
description: "Explore 4 articles tagged #go-testing on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/go-testing"
---

Tag

# #go-testing

4 posts · 0 followers

[Animesh Pathak](https://hashnode.com/@sonichigo) · [Apr 14, 2024](https://hashnode.com/posts/write-clean-and-efficient-unit-tests-in-go/661e09abe45824f41c3b2561)

### [Why I Switched to Table Driven Testing approach in Go](https://community.keploy.io/write-clean-and-efficient-unit-tests-in-go?utm_source=hashnode&utm_medium=feed)

Table driven tests, also known as parameterized tests, have became very popular over the past few years, due to their ability to eliminate repetition.

7 min read · [community.keploy.io](https://community.keploy.io/write-clean-and-efficient-unit-tests-in-go?utm_source=hashnode&utm_medium=feed)

[SHIVANI GANIMUKKULA](https://hashnode.com/@shivanig) · [Oct 24, 2023](https://hashnode.com/posts/unit-testing-in-go-using-gomocks/653cea1abb0161a4a3de8d58)

### [Unit Testing in Go using GoMocks](https://shivanig.hashnode.dev/unit-testing-in-go-using-gomocks?utm_source=hashnode&utm_medium=feed)

GoMocks Mocking may sound a little bit tedious and time-consuming at first, but can be implemented easily with the help of a pre-existing mocking framework. By mocking the API, you can validate all the functionality of your application without the pe...

6 min read · [shivanig.hashnode.dev](https://shivanig.hashnode.dev/unit-testing-in-go-using-gomocks?utm_source=hashnode&utm_medium=feed)

[Ishan Kumar](https://hashnode.com/@IshanKumar) · [May 3, 2023](https://hashnode.com/posts/test-automation-with-golang/64523c40b29ce45f707d9577)

### [Test Automation with Golang](https://ishankumar.hashnode.dev/test-automation-with-golang?utm_source=hashnode&utm_medium=feed)

Tailored example of an API test script for backend automation

5 min read · [ishankumar.hashnode.dev](https://ishankumar.hashnode.dev/test-automation-with-golang?utm_source=hashnode&utm_medium=feed)

[Davide Guerri](https://hashnode.com/@dguerri) · [Aug 20, 2022](https://hashnode.com/posts/mocking-filesystem-file-and-fileinfo-in-golang-unit-tests/6300f91e74730d13020f285e)

### [Mocking Filesystem, File and FileInfo in Golang unit tests](https://dguerri.hashnode.dev/mocking-filesystem-file-and-fileinfo-in-golang-unit-tests?utm_source=hashnode&utm_medium=feed)

As a beginner, I found it difficult to write unit tests in GoLang for anything that use actual production resources, like filesystems, APIs, or databases. In this post, I put together my findings in the hope I will save you some time. I will show you...

5 min read · [dguerri.hashnode.dev](https://dguerri.hashnode.dev/mocking-filesystem-file-and-fileinfo-in-golang-unit-tests?utm_source=hashnode&utm_medium=feed)
