Tvisha rajiforKeploy Community Blogkeploy.hashnode.dev·Jan 21, 2025Mastering Mocking: A Complete Guide to Mocks and other test doublesImagine 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 yo...Mocking
Pawan Gangwaniblogs.pgangwani.co.in·Jan 17, 2025Mocking OTP Send and Verify APIs in PlaywrightHere’s a blog post draft for mocking OTP scenarios using Playwright: Mocking APIs during end-to-end (E2E) testing ensures faster and more reliable tests by eliminating dependencies on external services. In this blog, we’ll explore how to mock OTP se...playwright
Pawan Gangwaniblogs.pgangwani.co.in·Jan 17, 2025Mocking OTP Send and Verify APIs in WebdriverIOMocking APIs in end-to-end (E2E) tests is crucial to simulate real-world scenarios while keeping your tests fast, reliable, and independent of external services. In this blog, we’ll explore how to mock OTP send and OTP verify APIs using WebdriverIO. ...Webdriver.io
Drew Hooverdrewhoover.com·Jan 14, 2025How to write simple, expressive, and powerful test fixtures for GraphQL applicationsIn this blog post series, I'm going to explain 2 things: How to use mocking tools to create simple, expressive, and powerful mocking interfaces How to type-check those interfaces to make them effortless to use #1 is not a terribly unique concept;...1 like·212 readsGraphQL
Teddy Okaformockapi.hashnode.dev·Dec 10, 2024Unlock Your Project’s Potential with Effortless Mock APIsToday’s world of software development is all about speed, flexibility, and delivering exceptional user experiences as quickly as possible. When you need to test and validate features, show interactive prototypes to stakeholders, or refine your UI wit...APIs
Teddy Okaformockapi.hashnode.dev·Dec 10, 2024Powering Rapid Prototyping and Front-End Innovation with MockAPIIn an age where product development lifecycles are growing ever shorter and user expectations are ever higher, having the right tools at your disposal can make all the difference. For front-end developers, UX designers, and product managers, quickly ...Mocking
Waleed Javedwaleed.hashnode.dev·Oct 25, 2024Testing Lambda Functions Locally with Mocha & Chai for Integration ReadinessTo ensure thorough testing of AWS Lambda functions locally, especially to catch integration issues before deploying to QA or production, you can use a combination of tools, libraries, and practices. Here's a step-by-step guide on how to achieve this,...AWS Cloudaws-sdk-mock
Dmitrii Skrylevskrdev.hashnode.dev·Sep 29, 2024How to use Mocking Service Worker (MSW) for your JS POC demos.👉 Check out my project MudQuest the first real-time offroad enthusiast finder. Prerequisites Live Demo - give it a minute to load, I am using free hosting; GitHub Repo with an example - https://github.com/zhivou/msw-demo?tab=readme-ov-file; I a...Tutorialsmsw
Jagsjagannath.dev·Sep 18, 2024Mastering API Testing: A Comparison of HAR Files and Mocking TechniquesWhen testing API interactions, you have two primary options: using HAR (HTTP Archive) files or mocking. Each method has its strengths and weaknesses, and the choice between them depends on your specific testing needs. Use HAR Files for: Complex, mul...29 readsPlaywrightMocking
Jagsjagannath.dev·Sep 18, 2024Mastering Playwright: Learn secure HAR-Based Mocking in PlaywrightTo start, you'll need to record all necessary network calls into a HAR (HTTP Archive) file. The process for doing so varies slightly depending on the browser you're using. Next, you'll want to sanitize your HAR file to remove any sensitive informatio...39 readsPlaywrightplaywright