Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
def tdd_ios( hint: RubyMotion )
Search
Jon Rowe
March 12, 2013
Programming
0
150
def tdd_ios( hint: RubyMotion )
Lightening talk about RubyMotion, iOS and testing. Presented at March RoRo Sydney meet.
Jon Rowe
March 12, 2013
Tweet
Share
More Decks by Jon Rowe
See All by Jon Rowe
RSpec - Level Up
jonrowe
0
300
Learning From Other Languages - Immutability
jonrowe
0
170
Intro-spec-tion RubyConfAU 2016
jonrowe
0
170
RSpec + Rails Without rspec-rails @ RoRoSyd November 2015
jonrowe
1
260
RSpec 3 and why I `expect(you).to care`
jonrowe
3
640
Upgrading RSpec - RoRoSyd June 14
jonrowe
1
100
def tdd_ios( hint: RubyMotion ) @ #SydInMotion
jonrowe
0
130
Tales Of Interest - RubyConfAU 2014
jonrowe
0
77
RSpec... Your doing it wrong... RoRoSYD Lightning Talk October 2013
jonrowe
0
140
Other Decks in Programming
See All in Programming
Raku Raku Notion 20260128
hareyakayuruyaka
0
410
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
530
CSC307 Lecture 10
javiergs
PRO
1
690
2026年 エンジニアリング自己学習法
yumechi
0
150
CSC307 Lecture 09
javiergs
PRO
1
850
株式会社 Sun terras カンパニーデック
sunterras
0
1.8k
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
120
AI時代の認知負荷との向き合い方
optfit
0
180
CSC307 Lecture 07
javiergs
PRO
1
560
今、アーキテクトとして 品質保証にどう関わるか
nealle
0
170
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
380
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
330
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
450
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.2k
Being A Developer After 40
akosma
91
590k
New Earth Scene 8
popppiees
1
1.6k
Fireside Chat
paigeccino
41
3.8k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4k
We Have a Design System, Now What?
morganepeng
55
8k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.3k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
800
Color Theory Basics | Prateek | Gurzu
gurzu
0
210
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
120
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
930
Transcript
def tdd_ios( hint: RubyMotion) @JONROWE
ObjectiveC
ObjectiveC TDD IS HARD!
ObjectiveC TDD IS HARD! (or just not popular)
PhoneGap?
PhoneGap? JS
PhoneGap? JS TDD’able
PhoneGap? JS TDD’able Sucks...
RubyMotion?
RubyMotion? Ruby
RubyMotion? Ruby Compiles
RubyMotion? Ruby Compiles Access to all the APIs
Has testing built in
Bacon
Bacon MacBacon
Bacon MacBacon Runs In Simulator
None
Unit Testing
Unit Testing Integration Testing
Unit Testing Integration Testing Acceptance Testing (limited)
Use Rubyisms
Use Rubyisms Stub web requests
Use Rubyisms Stub web requests Simulate device events
Felt Like Rails
Solution?
Pure Ruby Library
Pure Ruby Library RSpec / MiniTest
Pure Ruby Library RSpec / MiniTest Ruby 2.0.0
Caveats:
Caveats: Libs don’t always behave the same.
Caveats: Libs don’t always behave the same. (JSON)
Caveats:
Caveats: no require
Caveats: no require no metaprogramming
Caveats: no require no metaprogramming alloc / init vs initialize
end