Skip to content

Test-Driven-Express for building APIs in NodeJS

Notifications You must be signed in to change notification settings

marvambi/nodetdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test-Driven-Express for building APIs in NodeJS

Start with the test that expects the output we want from our API, the test usually fails at this point when we run it (functionality yet to be implemented) Implementation is code is written to get the test passing Then effort is made to refactor and improve the code or functionality

Initial Steps

Create integration testing module

Run the integration tests

Make the integration tests pass

Create the unit testing module

Detailed instructions for running our tests

Further recommendations