Mohit Bhattcodymohit.com·Jul 10, 2024Mocking APIs: How to Simulate Backend Responses for TestingEver got stuck trying to test your app coz the backend aint ready? Or maybe the API you're depending on keeps acting up? Trust me, we've all been there. In this blog, we're diving into the world of mocking APIs – yep, you heard it right! We’ll uncove...Discussmocking api
jorzeljorzel.hashnode.dev·Jul 5, 2024How to Mock HTTP Servers with Prism and OpenAPI specsDistributed systems often rely on various dependencies that communicate using HTTP REST APIs. However, there are instances where we don't have access to the codebase of these services, or they are third-party systems. In such cases, we need a way to ...Discusshttp
Sushil Tiwarisusilnem.hashnode.dev·Jun 19, 2024Python Unit Testing: MockingMocking means replacing real objects with pretend ones during testing, especially in unit tests. This technique lets to create different scenarios without using real resources, which saves time and effort. The Mock() object from the unittest.mock cla...Discussmagicmock
Daniel Adesojidanieladesoji.blog·Jun 15, 2024Mocking with Sinon.js: A Comprehensive GuideTesting is an integral part of software development, ensuring that code behaves as expected. When it comes to JavaScript, Sinon.js is a powerful library for creating spies, stubs, and mocks, making it easier to test code that relies on external depen...DiscussNode.js
Sudheer Tripathiblog.dumbbellcode.in·Jun 2, 2024An easy way to test 3rd party SDKs with LaravelNothing is more satisfying than writing unit tests that test complex functionalities with strong assertions. Starting with an example Let's take an example where our app has a mixed functionality which involve external API calls, DB calls and interna...Discuss·1 like·60 readsunit testing
Teddy Okaforblog.mockapi.com·May 21, 2024Integrating MockAPI with Your CI/CD Pipeline for Seamless TestingContinuous Integration and Continuous Deployment (CI/CD) pipelines are essential for modern software development, ensuring that code changes are automatically tested and deployed, leading to faster and more reliable releases. Integrating MockAPI into...Discussci-cd
Christian Bonnaudcbonnaud.hashnode.dev·May 16, 2024Powering Your API Development with Mockaroo: Effortlessly Generate and Expose Mock DataCreating a meaningful UI prototype is challenging without real API requests, which can help to identify issues application flow, performance, and design, enhancing both user experience and quality. Mockaroo lets you create advanced mock APIs and comp...Discuss·37 readsWeb Development
Lucy Linderblog.derlin.ch·May 9, 2024How to mock an API in 2 minutesI don't need to enumerate all the situations in which you would need to mock an API or an HTTP server. There are many options available, such as faker. This article delves into MockServer and shows how to set up a mock server using only Docker and a ...Discuss·324 readsTesting
Teddy Okaforblog.mockapi.com·May 4, 2024Enhancing Front-End Development with API MocksIn the landscape of modern web development, front-end developers face the continuous challenge of delivering high-quality, robust, and interactive applications quickly. Integrating API mocks into the development process can significantly enhance prod...Discussmockapi
Ritik JainforKeploy Tech Blogkeploy-blog.hashnode.dev·May 1, 2024SCRAM Authentication: Overcoming Mock Testing ChallengesIn the vast landscape of cybersecurity, authentication stands as the guardian of digital fortresses, ensuring that only the right individuals gain access to sensitive information and services. Imagine you're at the entrance of a top-secret facility, ...DiscussSCRAM Authentication