Tag: stubs

  • Mastering Mocking: A Complete Guide to Mocks and other test doubles

    Mastering Mocking: A Complete Guide to Mocks and other test doubles

    Imagine building a system where you want to validate if the logic implemented would fit in when the entire system is built, but for that, you would have to build the entire architecture (well, a lot of resources are spent). Now imagine a way where you can simulate the versions of real objects or components.…

    by

    in
  • Stubs | Mocks | Fakes: Let’s define the boundaries!!

    Stubs | Mocks | Fakes: Let’s define the boundaries!!

    While writing tests for an application, we may fall into different scenarios, which must be considered for writing tests, that are strong enough to check the robustness of the application. Let it be Unit testing, Integration testing, or some other, we may encounter some situations where we need to isolate our implementation from dependencies or…

    by

    in