Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automated Acceptance Testing by Josh Johnson

Automated Acceptance Testing by Josh Johnson

Automated Acceptance Testing by Josh Johnson from CocoaHeads July 2012 in Durham, NC.

Triangle Cocoa

July 29, 2012
Tweet

More Decks by Triangle Cocoa

Other Decks in Programming

Transcript

  1. 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
  2. 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!"
  3. 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"