Image for post
Image for post

This text was originally posted in Brazilian Portuguese here.

REST API is present in the majority of the projects that we work nowadays, and achieve a good sleeping night knowing that all endpoints are ok is part of the job. To reach this goal, automation is crucial.

In this article I will list the steps I made to create my first automated test using Node.js, the test framework Mocha and Chai, the lib the help us to write the test cases.


All the steps bellow were executed using a PC running Windows 10 and MinGW, but since these tools are cross platform, it shouldn't be so different in other systems. …


Henrique Deodato

Geek, Gamer and Founder of Apps&Etc | São Paulo | Brasil

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