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
Abhishek kushwahaforKeploy Community Blogkeploy.hashnode.dev·Oct 24, 2024Mastering Node.js Backend Testing with Mocha and ChaiUnit testing is important because it checks small parts of code to make sure they work right and finds bugs early. It's important to do these tests before releasing an app. This guide will cover unit testing with Mocha and Chai. Why Mocha and Chai? M...10 likesNode.js
Anuj Kumar Upadhyayanuj1.hashnode.dev·Aug 12, 2024Testing Node.js ApplicationsWelcome to Our Day 19 of our Node.js Zero to 1! Blog Series 👇👇 Testing is a critical part of the software development lifecycle, ensuring that your application functions as expected and helps catch bugs before they reach production. In this session...10 likesNodejsNode.js
Anuj Kumar Upadhyayanuj1.hashnode.dev·Jul 21, 2024TypeScript and ToolingWelcome back to our TypeScript series! Today, we’ll delve into the ecosystem of tools that enhance your TypeScript development experience. From IDE support to build tools and linters, understanding how to leverage these tools will significantly impro...8 likesTypeScriptTypeScript
Rajat Guptarajatgupta.net·May 29, 2024How to setup different database for development and testing in NodeJSObviously we do not want to mess up our development and test data and hence want to setup a different database for both the purposes. I faced this issue when performing unit and integration testing in my node application using chai and mocha. Below a...1 like·77 readsmocha
Cris Mihalachef3rno64.io·Dec 21, 2023A Modern Node.JS TypeScript Lib Templatef3rno64/node-ts-lib-template Starting a new Node.JS project written in TypeScript in today's software development world is daunting; with the multitude of tools available for testing, linting, deploying, and generating documentation, it is difficult...2 likes·751 readsNode.js
Samyak Adityasamyakaditya.hashnode.dev·Oct 12, 2023Why Mocha Might Be a Better Choice Than Jest for Your TestsWhen it comes to JavaScript testing frameworks, two names often stand out in the crowd: Mocha and Jest. Both are highly popular choices among developers, and each has its own set of features and advantages. But, as a developer, you might be wondering...89 readsJavaScript
Samyak Adityasamyakaditya.hashnode.dev·Sep 14, 2023Mastering React Component Testing with Mocha: A Comprehensive GuideIntroduction Testing is a crucial part of the software development process. In the world of React, ensuring that your components work as expected is essential for delivering a reliable and bug-free application. One popular testing framework for React...35 readsmocha
Al Farhaankhan I Inamdartheonethatstartedlate.hashnode.dev·Sep 7, 2023JavaScript Testing with Mocha: Your Beginner's Guide to Reliable CodeIntroduction: As a developer, ensuring your JavaScript code works flawlessly is a top priority. That's where testing comes in, and one tool that has made testing JavaScript a breeze is Mocha. Meet Mocha: Your Testing Companion Mocha is a JavaScript t...42 readsmocha
Jonathan Barnettjonbarnett.hashnode.dev·Jun 5, 2023FeaturedDebugging Javascript Unit Tests with VSCodeDo you just use console.log for everything? When you run code locally, sometimes the easiest way to get the current value of something is console.log to write to a terminal. This is easy. But sometimes, you need more insight into what a variable is r...68 likes·858 readsNode.js