Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
def tdd_ios( hint: RubyMotion) @JONROWE
Slide 2
Slide 2 text
ObjectiveC
Slide 3
Slide 3 text
ObjectiveC TDD IS HARD!
Slide 4
Slide 4 text
ObjectiveC TDD IS HARD! (or just not popular)
Slide 5
Slide 5 text
PhoneGap?
Slide 6
Slide 6 text
PhoneGap? JS
Slide 7
Slide 7 text
PhoneGap? JS TDD’able
Slide 8
Slide 8 text
PhoneGap? JS TDD’able Sucks...
Slide 9
Slide 9 text
RubyMotion?
Slide 10
Slide 10 text
RubyMotion? Ruby
Slide 11
Slide 11 text
RubyMotion? Ruby Compiles
Slide 12
Slide 12 text
RubyMotion? Ruby Compiles Access to all the APIs
Slide 13
Slide 13 text
Has testing built in
Slide 14
Slide 14 text
Bacon
Slide 15
Slide 15 text
Bacon MacBacon
Slide 16
Slide 16 text
Bacon MacBacon Runs In Simulator
Slide 17
Slide 17 text
No content
Slide 18
Slide 18 text
Unit Testing
Slide 19
Slide 19 text
Unit Testing Integration Testing
Slide 20
Slide 20 text
Unit Testing Integration Testing Acceptance Testing (limited)
Slide 21
Slide 21 text
Use Rubyisms
Slide 22
Slide 22 text
Use Rubyisms Stub web requests
Slide 23
Slide 23 text
Use Rubyisms Stub web requests Simulate device events
Slide 24
Slide 24 text
Felt Like Rails
Slide 25
Slide 25 text
Solution?
Slide 26
Slide 26 text
Pure Ruby Library
Slide 27
Slide 27 text
Pure Ruby Library RSpec / MiniTest
Slide 28
Slide 28 text
Pure Ruby Library RSpec / MiniTest Ruby 2.0.0
Slide 29
Slide 29 text
Caveats:
Slide 30
Slide 30 text
Caveats: Libs don’t always behave the same.
Slide 31
Slide 31 text
Caveats: Libs don’t always behave the same. (JSON)
Slide 32
Slide 32 text
Caveats:
Slide 33
Slide 33 text
Caveats: no require
Slide 34
Slide 34 text
Caveats: no require no metaprogramming
Slide 35
Slide 35 text
Caveats: no require no metaprogramming alloc / init vs initialize
Slide 36
Slide 36 text
end