deep dive - bdd with rubymotion
DESCRIPTION
A short presentation on BDD w RubyMotion w linked Github Repo for code samplesTRANSCRIPT
![Page 1: Deep Dive - BDD with RubyMotion](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/1.jpg)
DEEP DIVEBDD with RubyMotion
Matthew Salerno
![Page 2: Deep Dive - BDD with RubyMotion](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/3.jpg)
TESTING - WHY?
USUAL SUSPECTS
● COURAGEOUS REFACTORING
● EXTENDABLE APPLICATIONS
![Page 4: Deep Dive - BDD with RubyMotion](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/5.jpg)
SEPARATION
● LOTS O’ COCOA API CALLS
● WRITING TESTS NECESSITATES SEPARATING OUR BUSINESS LOGIC
FROM API CALLS
![Page 6: Deep Dive - BDD with RubyMotion](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/6.jpg)
● ENCOURAGES OO
● EASY TO SPOT BUGS
● EASY TO ADD FEATURES
![Page 7: Deep Dive - BDD with RubyMotion](https://reader035.vdocuments.us/reader035/viewer/2022081821/5565cd80d8b42a8a7b8b4c95/html5/thumbnails/7.jpg)
CODE
QUOTIDIEN
http://github.com/seldomatt/quotidien