A simple explanation of TDD (Test Driven Development) Step 1 - you write your tests and they should be failing. Step 2 - start implementing until your tests start passing. Step 3 - refactor and improve the code.
On Supertest
It allows you to pull in your express app and simulate calls