deep dive - bdd with rubymotion
DESCRIPTION
A short presentation on BDD w RubyMotion w linked Github Repo for code samplesTRANSCRIPT
DEEP DIVEBDD with RubyMotion
Matthew Salerno
Me
● Web/Mobile Developer at Cyrus Innovationcyrusinnovation.com
● Organizer of RubyBlind meetup.com/rubyblind
● Co-organizer of NYC RubyMotion meetup.com/NYC-RubyMotion
● Github/Twitter/Bloggithub.com/seldomatt
@seldomattblog.seldomatt.com
TESTING - WHY?
USUAL SUSPECTS
● COURAGEOUS REFACTORING
● EXTENDABLE APPLICATIONS
iOS/RubyMotion TESTING
● BUILDING FOR DEVICE/SIMULATOR AND CLICKING THROUGH IS TIME-INTENSIVE
● CRASH LOGS CAN BE TOUGH TO DECIPHER
● CDD (Crash Driven Development)
SEPARATION
● LOTS O’ COCOA API CALLS
● WRITING TESTS NECESSITATES SEPARATING OUR BUSINESS LOGIC
FROM API CALLS
● ENCOURAGES OO
● EASY TO SPOT BUGS
● EASY TO ADD FEATURES
CODE
QUOTIDIEN
http://github.com/seldomatt/quotidien