Simon Crowesimoncrowe.hashnode.dev·Sep 7, 2024Python Testing Part 1: isolating external calls and minimising mocksMocks are a necessary evil in Python testing. If overused, they essentially become "change detectors", meaning that every time you refactor the implementation of your code, you must update the mocks too. Ideally, your tests should verify what your co...DiscussPython
Marwane Chahoudmar1.hashnode.dev·Aug 20, 2024No Data, No Problem: Ingesting FAKE Data Might Increase Your Productivity 🚀🚀🚀Introduction Whether you join a data engineering project or start one from scratch with a team, you will surely face many problems. One common issue, which can sometimes be a major obstacle, is missing data! In a real-world project, your team often d...Discuss·10 likesdata-engineering
Chetan Patilchetanppatil.hashnode.dev·Jul 28, 2024Level Up Your Node.js Testing with Native Test Runner and Mocks: A BigQuery ExampleIn today’s software development, testing is not just good practice, it’s necessary, in my opinion. I’m excited to share some valuable insights on testing in Node.js! Through my own experiences, I’ve discovered some practical tips and techniques that ...DiscussNodeNativeTestRunner
Mehdi Jaimehdijai.hashnode.dev·Jul 26, 2024Create Authentication system with NodeJS, ExpressJS, TypeScript and Jest E2E testing -- PART 4.GitHub Repo Part 1 Part 2 Part 3 Part 4 Testing We will implement End-to-End testing with Jest to test our API. We will test the email tokens as well, we will need those tokens to be able to test the API completely. For the testing we will use...DiscussNodeExpAPINode.js
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·61 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