The slides I use for introduction to TDD course.
Test Driven.JS
View Slide
[email protected]http://beletsky.nethttp://twitter.com/alexbeletsky
What are we going to do?
What are we going to do?• prepare the environment
What are we going to do?• prepare the environment• have TDD intro
What are we going to do?• prepare the environment• have TDD intro• practice the basic skills
What are we going to do?• prepare the environment• have TDD intro• practice the basic skills• discuss and have fun!
Development environment• node.js (npm) ~ 0.10.x• git ~ 1.8.x• Chrome / Firefox / IE• Sublime Text (Web Storm, Notepad)
What the heck isTDD?
The Three Laws of TDD• No production code without test• No more unit test sufficient to fall• No more production code sufficient to pass
But Why?
Less bugs, more speed
Regression stability
Safe(r) refactoring
Test Driven Design
Team / Code culture
FUN :)
TDDis all about discipline
:shu :ha :ri
Let’s getSTARTED..