---
title: "Discussion on \"API Testing with Mocha, Chai and Supertest in NodeJs.\" | Hashnode"
description: "Discussion on \"API Testing with Mocha, Chai and Supertest in NodeJs.\". Introduction\nTesting is essential today for building a robust application that may change frequently or extend later if you are learning Test Driven Development or looking to add API test cases in the backend, which may improve the debugging and test..."
url: "https://hashnode.com/posts/api-testing-with-mocha-chai-and-supertest-in-nodejs/63838251aa52619d26696205"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [API Testing with Mocha, Chai and Supertest in NodeJs.](https://blog.roamingdev.com/api-testing-with-mocha-chai-and-supertest-in-nodejs?utm_source=hashnode&utm_medium=feed)

Introduction Testing is essential today for building a robust application that may change frequently or extend later if you are learning Test Driven Development or looking to add API test cases in the backend, which may improve the debugging and test...

Nov 27, 2022 · 9 min read · blog.roamingdev.com  
Read the article

-   [#supertest](https://hashnode.com/tag/supertest)
-   [#mocha](https://hashnode.com/tag/mocha)
-   [#chai](https://hashnode.com/tag/chai)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#express](https://hashnode.com/tag/express)

## Written by

[Gaurav Singh](https://hashnode.com/@JBrocksfellas)

@JBrocksfellas · India

  
[View profile](https://hashnode.com/@JBrocksfellas)

Backend Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
