Mocking API Requests in Unit Tests

In many applications, it's common to send requests to external services to acquire various types of data. To ensure our code handles these responses properly, testing is essential. However, in a test ...
0 Read More

Test Driven Development

Test Driven Development
Imagine writing code that's clean, reliable and almost free of bugs. Sounds like a dream? It's achievable through methods like Test Driven Development The Basics Test Driven Development might seem cou...
0 Read More

Unit Test for MCP!

Unit Test for MCP!
Imagine you have an MCP server; it's likely you'd want to create unit tests to ensure it functions as intended. In this post, I'll walk through how to write unit tests for MCP servers. We'll be testin...
0 Read More

Jason Gorman's Mock Abuse

Dave Farley calls it the Mockery. Jason Gorman has a video calling it Mock Abuse and Mock Hell. Both are true. I’m dealing with it at work and trying to gather various resources to help teach why th...
0 Read More