Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

30 lines (26 loc) · 1.04 KB

Installation

  1. Download the code using GIT or with the downloading the zip link
  2. Run the script to verify that you have everything we need for the training:
  3. Go into the folder of the kata you want to practice. Eg: cd fizz-buzz
  4. Execute the tests. Pick one option:
    • Option 1: With docker and make

      make

    • Option 2: With docker without make

      docker run -it --rm -v ${PWD}:/code codiumteam/tdd-training-js make test-watch

    • Option 3: Without docker:

      • Install the dependencies: npm install
      • Execute the tests: npm run test:watch
  5. Solve the kata.

Katas

Fizz Buzz

Kata to start doing TDD

Roman numerals

Kata to keep practicing TDD

Password validator

Kata to practice some test smells.

User registration

Kata to start practising TDD with test doubles.

Coffee Machine

Kata to practice outside-in TDD.