105

Testing Go: Mocking Third Party Dependencies – Harry Gogonis – Medium

 6 years ago
source link: https://medium.com/@harrygogonis/testing-go-mocking-third-party-dependancies-4ab4e1c9bd3f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
In this article, we will explore how to write testable Go code. Often, we use external dependencies in our code and want to isolate those side effects during testing. We want to test the Bar function…

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK