deep dive - bdd with rubymotion

7
DEEP DIVE BDD with RubyMotion Matthew Salerno

Upload: matthew-salerno

Post on 27-May-2015

787 views

Category:

Technology


6 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Deep Dive - BDD with RubyMotion

DEEP DIVEBDD with RubyMotion

Matthew Salerno

Page 2: Deep Dive - BDD with RubyMotion

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

Page 3: Deep Dive - BDD with RubyMotion

TESTING - WHY?

USUAL SUSPECTS

● COURAGEOUS REFACTORING

● EXTENDABLE APPLICATIONS

Page 4: Deep Dive - BDD with RubyMotion

iOS/RubyMotion TESTING

● BUILDING FOR DEVICE/SIMULATOR AND CLICKING THROUGH IS TIME-INTENSIVE

● CRASH LOGS CAN BE TOUGH TO DECIPHER

● CDD (Crash Driven Development)

Page 5: Deep Dive - BDD with RubyMotion

SEPARATION

● LOTS O’ COCOA API CALLS

● WRITING TESTS NECESSITATES SEPARATING OUR BUSINESS LOGIC

FROM API CALLS

Page 6: Deep Dive - BDD with RubyMotion

● ENCOURAGES OO

● EASY TO SPOT BUGS

● EASY TO ADD FEATURES

Page 7: Deep Dive - BDD with RubyMotion

CODE

QUOTIDIEN

http://github.com/seldomatt/quotidien