Tag: stub

  • How I simulated a response from a Third Party app

    How I simulated a response from a Third Party app

    Whether you’re building a web application, a mobile app, or any other software product, integrating with third-party APIs is almost inevitable. But what happens when you need to test your application’s behavior without relying on these external services? That’s where the magic of simulation comes in handy. In this blog, we’ll explore how you can…

    by

    in
  • Mock vs Stub vs Fake: Understand the difference

    Mock vs Stub vs Fake: Understand the difference

    Introduction Testing software is like putting it through a series of challenges to make sure it’s tough enough for real-world use. Whether we’re testing each piece individually (unit testing) or how they all work together (integration testing), we need to be prepared for different situations. Sometimes, testing is tricky.There are times, when we need to…

    by

    in
  • Go Mocks and Stubs generator Made Easy

    Go Mocks and Stubs generator Made Easy

    Testing 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 or data that’s just too unreal or vague. When things…

    by

    in