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...1 like·263 readsgomock
Shubham JainforKeploy Tech Blogkeploy-blog.hashnode.dev·Jun 15, 2023Go Mocks and Stubs Made EasyTesting network stuff like APIs and database calls can be a real pain: I find myself burning way too much time just making mock data, instead of actually doing the tests or assertions. When you make fake mocks, you might end up using wrong guesses ...91 likes·506 readsTDD (Test-driven development)