• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
San Jose Selenium Meetup 22 Mar 2012: The Restless Are Getting Native
 

San Jose Selenium Meetup 22 Mar 2012: The Restless Are Getting Native

on

  • 1,165 views

Are you wondering how to write automated tests for your shiny new iOS application? Is it even possible? Maybe you're sick of manually running the same test scenarios over and over and over… are ...

Are you wondering how to write automated tests for your shiny new iOS application? Is it even possible? Maybe you're sick of manually running the same test scenarios over and over and over… are you developing blisters on your fingertips?

In his talk, Dante Briones--Principal Consultant for Cochiva--will give a broad overview of the automated testing tools currently available for iOS, and share some hard-won secrets of iOS app test automation using NativeDriver -- an implementation of the WebDriver API that can drive *native* applications running on iOS or Android. You'll see how to integrate NativeDriver into your iOS app, allowing you to write functional tests in Java. You'll learn how to execute those tests at the command line and how to integrate those tests into a continuous integration tool like Jenkins. You'll hear lots of tips about how to improve your chances for a successful adoption of a functional testing suite.

Statistics

Views

Total Views
1,165
Views on SlideShare
1,165
Embed Views
0

Actions

Likes
0
Downloads
9
Comments
0

0 Embeds 0

No embeds

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

    San Jose Selenium Meetup 22 Mar 2012: The Restless Are Getting Native San Jose Selenium Meetup 22 Mar 2012: The Restless Are Getting Native Presentation Transcript

    • The Restless Are Getting Native Lessons Learnt While Automating an iOS App Dante Briones Principal Consultant CochivaFriday, March 23, 12
    • What makes a good automation tool?Friday, March 23, 12
    • I want tests that: • are robust • are easy to maintain • clearly express intent • are written in a real programming language • run in any environment • run on simulator or real deviceFriday, March 23, 12
    • These are important, but...Friday, March 23, 12
    • What’s the point of automated tests? • To catch regression bugs • To do so faster and more reliably than a humanFriday, March 23, 12
    • Developer Commit Source Repo Build & Deploy Uses User ProductionFriday, March 23, 12
    • Developer Feedback Tester Commit Source Repo Build & Deploy Tests Build & Deploy Test Environment Uses User ProductionFriday, March 23, 12
    • Developer Feedback Tester Feedback Commit Source Repo Build & Deploy Continuous Integration Build & Deploy Environment Tests Build & Deploy Test Environment Uses User ProductionFriday, March 23, 12
    • Developer Feedback Tester Feedback Commit Source Tests Repo Feedback Build & Deploy Continuous Local Test Integration Environment Build & Deploy Environment Tests Build & Deploy Test Environment Uses User ProductionFriday, March 23, 12
    • What’s the biggest win of automated tests? FASTER FEEDBACKFriday, March 23, 12
    • Test Environment Deploy Run Feedback Tests Development Team Automation TeamFriday, March 23, 12
    • Friday, March 23, 12
    • Test Environment Feedback Deploy Run Tests Development / Automation TeamFriday, March 23, 12
    • Something to consider "If a test fails in Jenkins, and no one is there who cares about it, should it still break the build?"Friday, March 23, 12
    • </digression>Friday, March 23, 12
    • iOS Automation: Tools • NativeDriver http://nativedriver.googlecode.com/ • KIF https://github.com/square/KIF • Frank http://www.testingwithfrank.com/ • MonkeyTalk http://www.gorillalogic.com/ • LessPainful https://www.lesspainful.com/ • iCuke https://github.com/unboxed/icuke • UISpec http://uispec.googlecode.com/Friday, March 23, 12
    • iOS Automation: Architecture Request / Response HTTP Server Synthesized Events Test Code Application State Query Device / SimulatorFriday, March 23, 12
    • iOS Automation: Architecture Test Code Application Device / SimulatorFriday, March 23, 12
    • Why NativeDriver? Familiar APIFriday, March 23, 12
    • Why NativeDriver? JavaFriday, March 23, 12
    • Why NativeDriver? AndroidFriday, March 23, 12
    • Why NativeDriver? “Hybrid” AppsFriday, March 23, 12
    • iOS Automation Toolchain WebDriver Protocol HTTP Server Synthesized Events Test Code (Java) Application (Obj-C) State Query Device / SimulatorFriday, March 23, 12
    • NativeDriver Test Support CodeFriday, March 23, 12
    • NativeDriver Test CodeFriday, March 23, 12
    • Toolchain: The ugly bits • How do I build from the command line? • How do I launch the simulator from the command line? • How do I shut down the simulator cleanly?Friday, March 23, 12
    • Toolchain: The ugly bits • How do I browse native widgets currently onscreen? • How do I browse widgets in a UIWebView? • How do I solve intermittent test failures? • What do I do if NativeDriver doesn’t support an element I need to interact with?Friday, March 23, 12
    • ChallengesFriday, March 23, 12
    • Cultural Differences Football FootballFriday, March 23, 12
    • Web Test Automation • Selenium, Watir, Capybara, HTMLUnit, etc. • Test automation is commonplaceFriday, March 23, 12
    • iOS Test Automation Real Developers Don’t Write TestsFriday, March 23, 12
    • Challenges: Language ChoiceFriday, March 23, 12
    • RecommendationsFriday, March 23, 12
    • Recommendation: Show Value EarlyFriday, March 23, 12
    • Recommendation: Surprise and DelightFriday, March 23, 12
    • Friday, March 23, 12
    • Friday, March 23, 12
    • Recommendation: Smooth Rough EdgesFriday, March 23, 12
    • Recommendation: Know Your LimitsFriday, March 23, 12
    • The Future of NativeDriverFriday, March 23, 12
    • Friday, March 23, 12
    • The Future of Mobile Testing... ...is in your hands!Friday, March 23, 12
    • Thank you! Dante Briones dante@cochiva.com @dantebrionesFriday, March 23, 12