Slide 1

Slide 1 text

Automated Acceptance Testing or: How I stopped worrying and trusted the tests by Josh Johnson - @jnjosh

Slide 2

Slide 2 text

Disclaimer. (I haven’t always tested)

Slide 3

Slide 3 text

So, testing...

Slide 4

Slide 4 text

Acceptance Testing

Slide 5

Slide 5 text

Frank KIF

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

calaba.sh http://

Slide 8

Slide 8 text

How does it work?

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

As a role I want action In order to goal

Slide 11

Slide 11 text

Given context When event occurs Then ensure outcome

Slide 12

Slide 12 text

So, what does this look like?

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

Feature: Cool Button View As a user of Cool Button App I want to be able to press buttons So I can see cool text and images

Slide 15

Slide 15 text

Feature: Cool Button View As a user of Cool Button App I want to be able to press buttons So I can see cool text and images Scenario: Hello displays message Given the app is running When I touch "Hello" Then I see the text "Hello CocoaHeads!"

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Feature: Cool Button View As a user of Cool Button App I want to be able to press buttons So I can see cool text and images Scenario: Hello displays message Given the app is running When I touch "Hello" Then I see the text "Hello CocoaHeads!" Scenario: Cool displays image Given the app is running When I touch "Cool" Then I see the "hoff"

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Cool!

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

Remember when I said “Device” testing and “Rotation”?

Slide 23

Slide 23 text

www.lesspainful.com

Slide 24

Slide 24 text

video courtesy lesspainful.com http://www.youtube.com/watch?v=fX4TLdf02L4

Slide 25

Slide 25 text

Robots!*

Slide 26

Slide 26 text

Robots! * well, not exactly robots, but it is still pretty cool *

Slide 27

Slide 27 text

So, How did you stop worrying and trust the tests?

Slide 28

Slide 28 text

Use something that makes it easy.

Slide 29

Slide 29 text

Make it a deliverable.

Slide 30

Slide 30 text

Questions?

Slide 31

Slide 31 text

Thanks! calaba.sh http://