Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Deep Dive - BDD with RubyMotion

1,241 views

Published on

A short presentation on BDD w RubyMotion w linked Github Repo for code samples

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Deep Dive - BDD with RubyMotion

  1. 1. DEEP DIVE BDD with RubyMotion Matthew Salerno
  2. 2. Me ● Web/Mobile Developer at Cyrus Innovation cyrusinnovation.com ● Organizer of RubyBlind meetup. com/rubyblind ● Co-organizer of NYC RubyMotion meetup. com/NYC-RubyMotion ● Github/Twitter/Blog github.com/seldomatt @seldomatt blog.seldomatt.com
  3. 3. TESTING - WHY? USUAL SUSPECTS ● COURAGEOUS REFACTORING ● EXTENDABLE APPLICATIONS
  4. 4. iOS/RubyMotion TESTING ● BUILDING FOR DEVICE/SIMULATOR AND CLICKING THROUGH IS TIME-INTENSIVE ● CRASH LOGS CAN BE TOUGH TO DECIPHER ● CDD (Crash Driven Development)
  5. 5. SEPARATION ● LOTS O’ COCOA API CALLS ● WRITING TESTS NECESSITATES SEPARATING OUR BUSINESS LOGIC FROM API CALLS
  6. 6. ● ENCOURAGES OO ● EASY TO SPOT BUGS ● EASY TO ADD FEATURES
  7. 7. CODE QUOTIDIEN http://github.com/seldomatt/quotidien

×