Testing Express Application Using Mocha Testing a simple express application using Mocha framework devDependencies npm install supertest --save-dev npm install expect@1.20.2 --save-dev Running tests In the project directory, run the following command npm test GET /users Test case to assert my name exists in users array (Passing case) GET /users, I have changed the name from Ankita to AnkitaPatil Test case to assert my name exists in users array (Failing case)