The idea of the project is from this video, used only for educational purpouse.
Creating tests and follow the good pratices and design patterns is my objective in this study part.
Using the concept of in memory database to manipulate and persist data in memory for tests purposes.
Clone the project and go to the root folder.
$ git clone https://github.com/viniciustneiva/node-agenda-tdd
$ cd node-agenda-tdd
Before start your application you need to install all dependencies:
# Install the dependencies listed in file package.json
$ npm install
# Finally run the test
$ npm run test