DEV Community

Discussion on: Learn Go by writing tests

Collapse
 
onecuteliz profile image
Elizabeth Jenerson

You are correct, Chris, that I'm looking for whether the right output came through as expected... Learned that's an integration test today. 🙂

I will definitely watch for that topic.
I've briefy read how some consider mocking the devil... I'm too junior to truly understand why but it'd be great if you could speak to that point ... Maybe folk's incorrect use of it makes mocking appear horrible or speaking to cases where it may not be best to mock. 🤷🏾‍♀️

Either way, thanks immensely, your explanations were wonderful and I'll keep an eye out.

Thread Thread
 
quii profile image
Chris James

Hi Liz

Hope this helps: dev.to/quii/learn-go-by-writing-te...