Everyone uses third party APIs in their project. These are the external services which allows you to access third party functionalities within the project without rebuilding them.

While writing test cases for any project it is very difficult to be sure that the test suites always run successfully as it is dependent on the third party API response. Hence, for handling such scenarios one has to mock third party APIs to be sure that our test cases does not hit any actual third party API service and that it runs in isolation.

Mocking third party API is just recording the…

Bhushan Kalode

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store