Quick Code
Published in

Quick Code

Image taken from

Using Mocha for Test-Driven Development in building API with Node / Express

Automated tests? Why? How?

For the longest time, I was just writing functionalities and manually testing them to ensure they work as expected. Every single new functionality, I would test my service manually ten times, hundred times, THOUSANDS times… you get it.




Find the best tutorials and courses for the web, mobile, chatbot, AR/VR development, database management, data science, web design and cryptocurrency. Practice in JavaScript, Java, Python, R, Android, Swift, Objective-C, React, Node Js, Ember, C++, SQL & more.

Recommended from Medium

*Task Description:*

How To Speed Up React Native Development using Typescript: Walkthrough and Tutorial

Stop Making API Requests in Redux Action-Creators

Most Reasons to Use React Native for Mobile App Development

Are Generics a Good Enough Reason To Use TypeScript?

Exploring Fabric-CA: Registration and Enrollment

Wise-Paas Mongodb

Next.js SSR vs. SSG & Incrementalism

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
Bilguun Batbold

Bilguun Batbold

Software Engineer

More from Medium

How to write test cases using Jest

Calling Stored Procedure with NodeJS and MSSQL

The way to build a REST API with koa.js

Understanding Monorepos and implementing it.