TDD in JavaScript

TDD in JavaScript

The slides I use for introduction to TDD course.

F32f547e66f3b6528376d67fdb67008f?s=128

Alexander Beletsky

July 15, 2014
Tweet

Transcript

  1. Test Driven .JS

  2. ceo@likeastore.com http://beletsky.net http://twitter.com/alexbeletsky

  3. What are we going to do?

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

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

    • have TDD intro
  6. What are we going to do? • prepare the environment

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

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

    1.8.x • Chrome / Firefox / IE • Sublime Text (Web Storm, Notepad)
  9. What the heck is TDD?

  10. None
  11. The Three Laws of TDD • No production code without

    test • No more unit test sufficient to fall • No more production code sufficient to pass
  12. But Why?

  13. Less bugs, more speed

  14. Regression stability

  15. Safe(r) refactoring

  16. Test Driven Design

  17. Team / Code culture

  18. FUN :)

  19. TDD is all about discipline

  20. :shu :ha :ri

  21. Let’s get STARTED..