iOS Testing with Frank
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

iOS Testing with Frank

on

  • 7,356 views

Stewart Gleadow of Thoughtworks presents Frank at the February Melbourne Cocoaheads meetup. Frank is an automated iOS User Interface Testing tool.

Stewart Gleadow of Thoughtworks presents Frank at the February Melbourne Cocoaheads meetup. Frank is an automated iOS User Interface Testing tool.
http://www.melbournecocoaheads.com/

Statistics

Views

Total Views
7,356
Views on SlideShare
6,251
Embed Views
1,105

Actions

Likes
2
Downloads
70
Comments
0

5 Embeds 1,105

http://www.melbournecocoaheads.com 1080
http://twitter.com 14
https://twitter.com 7
https://si0.twimg.com 3
http://www.docseek.net 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

iOS Testing with Frank Presentation Transcript

  • 1. Friday, 18 February 2011
  • 2. Testing iOS apps with Frank Stewart GleadowFriday, 18 February 2011
  • 3. why have tests?Friday, 18 February 2011
  • 4. why have tests?Friday, 18 February 2011
  • 5. Testing ApproachesFriday, 18 February 2011
  • 6. Friday, 18 February 2011
  • 7. “It seems to be working”Friday, 18 February 2011
  • 8. “Nothing is obviously broken”Friday, 18 February 2011
  • 9. Testing iPhone Apps iPhone AppFriday, 18 February 2011
  • 10. iPhone App ServerFriday, 18 February 2011
  • 11. iPhone App Done ServerFriday, 18 February 2011
  • 12. Does MVC help?Friday, 18 February 2011
  • 13. UIView UIViewController Model ServerFriday, 18 February 2011
  • 14. UIView UIViewController Model ServerFriday, 18 February 2011
  • 15. UIView UIViewController Model ServerFriday, 18 February 2011
  • 16. UIView UIViewController Done Model ServerFriday, 18 February 2011
  • 17. UIViewController UIViewFriday, 18 February 2011
  • 18. UIViewController UIView 50% of iPhone code?Friday, 18 February 2011
  • 19. Potential Testing Tools hmmm...Friday, 18 February 2011
  • 20. Potential Testing Tools • Frank and UISpec hmmm...Friday, 18 February 2011
  • 21. Potential Testing Tools • Frank and UISpec hmmm... • SikuliFriday, 18 February 2011
  • 22. Potential Testing Tools • Frank and UISpec hmmm... • Sikuli • FoneMonkeyFriday, 18 February 2011
  • 23. Potential Testing Tools • Frank and UISpec hmmm... • Sikuli • FoneMonkey • Brominet or iCukeFriday, 18 February 2011
  • 24. Potential Testing Tools • Frank and UISpec hmmm... • Sikuli • FoneMonkey • Brominet or iCuke • UIAutomationFriday, 18 February 2011
  • 25. UISpecFriday, 18 February 2011
  • 26. UISpec - (void)itShouldHaveDefaultUsers; { [[app.tableView.label text:@"User"] should].exist; }Friday, 18 February 2011
  • 27. UISpecFriday, 18 February 2011
  • 28. CucumberFriday, 18 February 2011
  • 29. CucumberFriday, 18 February 2011
  • 30. Cucumber Scenario: [name of the scenario]Friday, 18 February 2011
  • 31. Cucumber Scenario: [name of the scenario] Given [some statement]Friday, 18 February 2011
  • 32. Cucumber Scenario: [name of the scenario] Given [some statement] When [some action]Friday, 18 February 2011
  • 33. Cucumber Scenario: [name of the scenario] Given [some statement] When [some action] Then [some expected result]Friday, 18 February 2011
  • 34. Cucumber Scenario: [name of the scenario] Given [some statement] When [some action] Then [some expected result] And [another expectation]Friday, 18 February 2011
  • 35. to be perfectly Frank...Friday, 18 February 2011
  • 36. Tests iPhone AppFriday, 18 February 2011
  • 37. Tests UISpec Cucumber / Ruby ? iPhone AppFriday, 18 February 2011
  • 38. Tests Frank Server UISpec Cucumber / Ruby iPhone AppFriday, 18 February 2011
  • 39. Tests Frank Driver Frank Server UISpec Cucumber / Ruby iPhone AppFriday, 18 February 2011
  • 40. Tests Frank Driver Frank Server “frankly” UISpec Cucumber / Ruby iPhone AppFriday, 18 February 2011
  • 41. Frank uses accessibility labelsFriday, 18 February 2011
  • 42. frankly.my_dear do |i| dont_give_a_damn! endFriday, 18 February 2011
  • 43. frankly.my_dear do |i| dont_give_a_damn! end UISpec UIQuery Frank FranklyFriday, 18 February 2011
  • 44. frankly.my_dear do |i| dont_give_a_damn! end UISpec UIQuery [app.tableView.label text:@"User"]; Frank FranklyFriday, 18 February 2011
  • 45. frankly.my_dear do |i| dont_give_a_damn! end UISpec UIQuery [app.tableView.label text:@"User"]; Frank Frankly app tableView label text:’User’Friday, 18 February 2011
  • 46. Friday, 18 February 2011
  • 47. Frank Steps Scenario: default users should be present at startup When I start the app Then I should see “Users”Friday, 18 February 2011
  • 48. Frank Steps Scenario: default users should be present at startup When I start the app Then I should see “Users” Then /^I should see "([^"]*)"$/ do |expected_mark| check_element_exists("view marked:#{expected_mark}") endFriday, 18 February 2011
  • 49. DemoFriday, 18 February 2011
  • 50. The Road AheadFriday, 18 February 2011
  • 51. Stewart Gleadow sgleadow@thoughtworks.com @stewgleadowFriday, 18 February 2011
  • 52. References • github.com/moredip/frank & http://groups.google.com/group/frank-discuss • code.google.com/p/uispec & http://groups.google.com/group/uispec • softnoise.wordpress.com/2010/11/14/ios-setting-up-a-test-environment/ • cukes.info • cuke4ninja.com • The RSpec BookFriday, 18 February 2011
  • 53. Images • http://www.myfreewallpapers.net/movies/pages/ frankenstein-02.shtml • http://www.workbloom.net/wp-content/uploads/2009/09/ road-ahead.jpg • http://upload.wikimedia.org/wikipedia/commons/archive/ 0/07/20090605224904!IMac_aluminium.png • http://themachoresponse.blogspot.com/2010/03/frankly-my- dear-i-dont-give-damn.htmlFriday, 18 February 2011