Skip to content

klock/kata-fizzbuzz-tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kata FizzBuzz TDD

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.

TDD 

The 3 rules

  • 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

Baby steps

  • One change at a time

Install

git clone

npm install

Run tests

  • run tests once

npm run test

  • run tests watching for modifications

npm run test-watch

About

TDD experienced with the kata FizzBuzz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published