Your SlideShare is downloading. ×
iOS UI Testing with Frank
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

iOS UI Testing with Frank

6,152
views

Published on


0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,152
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
104
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. UI Testing With Frank BDD Style Acceptance Testing with Frank and Cucumber
    • 2. @keithpitt Keith PittiOS/Web DeveloperThe Frontier Group
    • 3. UI Testing Approaches
    • 4. UI Testing Approaches• Testing the application yourself using the simulator or your device
    • 5. UI Testing Approaches• Testing the application yourself using the simulator or your device• Getting others to test the application using their own devices
    • 6. UI Testing Approaches• Testing the application yourself using the simulator or your device• Getting others to test the application using their own devices• Automated testing
    • 7. What tools are there?
    • 8. What tools are there?• Sikuli (image analysis)
    • 9. What tools are there?• Sikuli (image analysis)• Fonemonkey (record and playback)
    • 10. What tools are there?• Sikuli (image analysis)• Fonemonkey (record and playback)• UISpec (tests are written in Objective C)
    • 11. What tools are there?• Sikuli (image analysis)• Fonemonkey (record and playback)• UISpec (tests are written in Objective C)• iCuke (project not being developed)
    • 12. Frankenstein
    • 13. Frank
    • 14. Frank• A bridge between Cucumber and UISpec
    • 15. Frank• A bridge between Cucumber and UISpec• A “Frank Driver” that sends HTTP requests from Cucumber to a “Frank Server” that is installed in the Application
    • 16. Frank• A bridge between Cucumber and UISpec• A “Frank Driver” that sends HTTP requests from Cucumber to a “Frank Server” that is installed in the Application• The “Frank Server” executes UISpec queries against the application, returns the result
    • 17. UISpec
    • 18. UISpec• UISpec is a Behaviour Driven Development framework for the iPhone that provides a full automated testing solution that drives the actual iPhone UI.
    • 19. UISpec• UISpec is a Behaviour Driven Development framework for the iPhone that provides a full automated testing solution that drives the actual iPhone UI.• It is modelled after the very popular RSpec for Ruby.
    • 20. UISpec• UISpec is a Behaviour Driven Development framework for the iPhone that provides a full automated testing solution that drives the actual iPhone UI.• It is modelled after the very popular RSpec for Ruby.• Written in Objective C
    • 21. -(void)itShouldHaveDefaultUsers {        //Check that all default users are in list        [[app.tableView.label text:@"Larry Stooge"] should].exist;        [[app.tableView.label text:@"Curly Stooge"] should].exist;        [[app.tableView.label text:@"Moe Stooge"] should].exist;}
    • 22. Cucumber
    • 23. Cucumber• Cucumber is a tool that executes plain-text functional descriptions as automated tests.
    • 24. Cucumber• Cucumber is a tool that executes plain-text functional descriptions as automated tests.• Written in Ruby
    • 25. Cucumber• Cucumber is a tool that executes plain-text functional descriptions as automated tests.• Written in Ruby• Created originally for use with Ruby on Rails.
    • 26. Cucumber• Cucumber is a tool that executes plain-text functional descriptions as automated tests.• Written in Ruby• Created originally for use with Ruby on Rails.• Command line tool
    • 27. Cucumber• Cucumber is a tool that executes plain-text functional descriptions as automated tests.• Written in Ruby• Created originally for use with Ruby on Rails.• Command line tool• Written specifically for BDD
    • 28. Feature: Search courses In order to ensure better utilization of courses Potential students should be able to search for courses Scenario: Search by topic Given there are 240 courses which do not have the topic "biology" And there are 2 courses A001, B205 that each have "biology" as one of the topics When I search for "biology" Then I should see the following courses: | Course code | | A001 | | B205 |
    • 29. Demo
    • 30. Resources• https://github.com/moredip/Frank• https://github.com/aslakhellesoy/cucumber• http://www.melbournecocoaheads.com/ testing-ios-apps-with-frank-slides-and- videos/
    • 31. @keithpitt Thanks for your attention