TDD experienced with the kata FizzBuzz
This project aims to record my steps when working on the kata FizzBuzz following the Test Driven Development methodology.
- No production code, unless if it fix a failing test
- No more test code than the minimum to make it fail (don't forget that: not compiling is failing)
- No more production code than the minimum to fix the failing test
### Mantra : Fail Fix Refactor
- Write failing test
- Fix test by writing code
- Refactor if needed
- One change at a time
git clone
npm install
- run tests once
npm run test
- run tests watching for modifications
npm run test-watch