Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
def tdd_ios( hint: RubyMotion )
Jon Rowe
March 12, 2013
Programming
0
86
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
160
Learning From Other Languages - Immutability
jonrowe
0
88
Intro-spec-tion RubyConfAU 2016
jonrowe
0
140
RSpec + Rails Without rspec-rails @ RoRoSyd November 2015
jonrowe
1
200
RSpec 3 and why I `expect(you).to care`
jonrowe
3
430
Upgrading RSpec - RoRoSyd June 14
jonrowe
1
65
def tdd_ios( hint: RubyMotion ) @ #SydInMotion
jonrowe
0
77
Tales Of Interest - RubyConfAU 2014
jonrowe
0
50
RSpec... Your doing it wrong... RoRoSYD Lightning Talk October 2013
jonrowe
0
110
Other Decks in Programming
See All in Programming
エンジニアによる事業指標計測のススメ
doyaaaaaken
1
190
大規模プロダクトにLinterを導入し運用している話
hirokiotsuka
0
240
リアルタイムボイスチェンジャーMMVCとVITSの紹介
stealthinu
0
150
How we run a Realtime Puzzle Fighting Game on AWS Serverless
falken
0
250
Oracle REST Data Service: APEX Office Hours
thatjeffsmith
0
850
Beyond Micro Frontends: Frontend Moduliths for the Enterprise @enterjs2022
manfredsteyer
PRO
0
200
Angular-basierte Micro Frontends mit Module Federation @API Summit
manfredsteyer
PRO
0
120
From Java through Scala to Clojure
lagenorhynque
0
240
Node.jsデザインパターンを読んで
mmmommm
0
2.8k
Opsしかやってこなかった私が DevOpsが根付いたチームにJoinした話
yhamano
1
100
The strategies behind ddd – AdeoDevSummit 2022
lilobase
PRO
5
260
開発速度を5倍早くするVSCodeの拡張機能を作った
purp1eeeee
2
160
Featured
See All Featured
KATA
mclloyd
7
8.7k
The Pragmatic Product Professional
lauravandoore
19
3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
151
13k
Automating Front-end Workflow
addyosmani
1351
200k
What the flash - Photography Introduction
edds
62
10k
Documentation Writing (for coders)
carmenhchung
48
2.6k
A better future with KSS
kneath
225
15k
The World Runs on Bad Software
bkeepers
PRO
57
5.3k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
10k
Streamline your AJAX requests with AmplifyJS and jQuery
dougneiner
127
8.5k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
15k
How GitHub Uses GitHub to Build GitHub
holman
465
280k
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