In the node ecosystem, We haven't been able to find an article describing the way we prefer to practice TDD internally. We are describing how we prefer to practice TDD in node in an article you can find here.
You will need node
to be installed on your computer.
You can download it here.
npm install
Create .env and .env.test files with your database credentials in them like this:
.env
DB_NAME=node_tdd
DB_USER=your_db_username
DB_PASSWORD=your_db_password
DB_HOST='127.0.0.1'
DB_DIALECT=postgres
.env.test
DB_NAME=node_tdd_test
DB_USER=your_db_username
DB_PASSWORD=your_db_password
DB_HOST='127.0.0.1'
DB_DIALECT=postgres
node server.js
npm run tests
- CEBULA Sébastien - Seybol
- STOCK Nicholas - nicholasjstock
This project is licensed under the MIT License - see the LICENSE.md file for details