Upgrade to Pro — share decks privately, control downloads, hide ads and more …

TDD in JavaScript

TDD in JavaScript

The slides I use for introduction to TDD course.

Avatar for Alexander Beletsky

Alexander Beletsky

July 15, 2014
Tweet

More Decks by Alexander Beletsky

Other Decks in Programming

Transcript

  1. What are we going to do? • prepare the environment

    • have TDD intro • practice the basic skills
  2. What are we going to do? • prepare the environment

    • have TDD intro • practice the basic skills • discuss and have fun!
  3. Development environment • node.js (npm) ~ 0.10.x • git ~

    1.8.x • Chrome / Firefox / IE • Sublime Text (Web Storm, Notepad)
  4. The Three Laws of TDD • No production code without

    test • No more unit test sufficient to fall • No more production code sufficient to pass