Slide 1

Slide 1 text

Test Driven .JS

Slide 2

Slide 2 text

[email protected] http://beletsky.net http://twitter.com/alexbeletsky

Slide 3

Slide 3 text

What are we going to do?

Slide 4

Slide 4 text

What are we going to do? • prepare the environment

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

What are we going to do? • prepare the environment • have TDD intro • practice the basic skills • discuss and have fun!

Slide 8

Slide 8 text

Development environment • node.js (npm) ~ 0.10.x • git ~ 1.8.x • Chrome / Firefox / IE • Sublime Text (Web Storm, Notepad)

Slide 9

Slide 9 text

What the heck is TDD?

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

The Three Laws of TDD • No production code without test • No more unit test sufficient to fall • No more production code sufficient to pass

Slide 12

Slide 12 text

But Why?

Slide 13

Slide 13 text

Less bugs, more speed

Slide 14

Slide 14 text

Regression stability

Slide 15

Slide 15 text

Safe(r) refactoring

Slide 16

Slide 16 text

Test Driven Design

Slide 17

Slide 17 text

Team / Code culture

Slide 18

Slide 18 text

FUN :)

Slide 19

Slide 19 text

TDD is all about discipline

Slide 20

Slide 20 text

:shu :ha :ri

Slide 21

Slide 21 text

Let’s get STARTED..