Animesh PathakforKeploy Community Blogkeploy.hashnode.dev·Apr 14, 2024Why I Switched to Table Driven Testing approach in GoTable driven tests, also known as parameterized tests, have became very popular over the past few years, due to their ability to eliminate repetition. Table driven tests make it quite a bit easier to re-use the same values for different sets of tests...Discuss·20 likesTesting
SHIVANI GANIMUKKULAshivanig.hashnode.dev·Oct 24, 2023Unit Testing in Go using GoMocksGoMocks 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...Discuss·1 like·29 readsgomock
Ishan Kumarishankumar.hashnode.dev·May 3, 2023Test Automation with GolangGolang has become a preferred choice for backend systems owing to its fast speed, straightforwardness, and dependability, and it is increasingly gaining prominence as a language of choice for writing backend test automation. Having had the chance to ...Discuss·1 like·445 readsGo Language
Davide Guerridguerri.hashnode.dev·Aug 20, 2022Mocking Filesystem, File and FileInfo in Golang unit testsAs 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...Discuss·1.3K readsGo Language