Slide 1

Slide 1 text

Short introduction to TDD test driven development @kikobeats and @elenarcolepsia

Slide 2

Slide 2 text

println("About"); @Kikobeats @Elenarcolepsia

Slide 3

Slide 3 text

We want to be better developers, but...

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Good code • Easy to change • Easy to understand • Enjoyable to use

Slide 6

Slide 6 text

TDD aims • Implement only what will you need • Minimize failings • Create modular software, reusable and ready to change.

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

Test first • Easier to refactor. • You think how the others see your code. • Focus on the tasks you need.

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

0 25 50 75 100 TDD and refactoring No TDD, no refactoring

Slide 11

Slide 11 text

Remember! • Design requisites first. • What to test, not how to test. • The architecture will appear during the iterations.

Slide 12

Slide 12 text

Don't write what you will not be able to maintain.

Slide 13

Slide 13 text

EXAMPLE

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Let's try it!