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
Mobile Application Development
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Katherine G Pe
June 30, 2012
Programming
230
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mobile Application Development
A Geekcamp Baguio presentation
Focus on Corona SDK and TDD frameworks for Cocoa
Katherine G Pe
June 30, 2012
More Decks by Katherine G Pe
See All by Katherine G Pe
Hack4Good 0.6 Baguio
kathgironpe
0
100
Creating Faster Websites Faster
kathgironpe
2
920
Rails Girls Manila
kathgironpe
3
250
Rails 3.1: From Idea to Deployment
kathgironpe
4
220
Geekcamp Baguio
kathgironpe
2
400
Other Decks in Programming
See All in Programming
【やさしく解説 設計編・中級 #1】一つの車に、運転手は一人 ~ある倉庫システムの事例から~
panda728
PRO
0
180
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
200
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
670
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
2
880
共通化で考えるべきは、実装より公開する型だった
codeegg
0
250
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
110
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
530
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
150
Built Our Own Background Agent at LayerX #aidevex_findy
layerx
PRO
0
220
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
260
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
350
【SRE NEXT 2026 Lunch Session】一人目専任SREの立ち上げを加速する ― AIと進めたオンボーディングで2分を0.04秒にした話
pkshadeck
PRO
0
2.8k
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
370
GitHub's CSS Performance
jonrohan
1033
470k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
How GitHub (no longer) Works
holman
316
150k
WCS-LA-2024
lcolladotor
0
720
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Deep Space Network (abreviated)
tonyrice
0
230
A Modern Web Designer's Workflow
chriscoyier
698
190k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
610
Everyday Curiosity
cassininazir
0
260
Transcript
MOBILE APP DEVELOPMENT Test-Driven Development
@bridgeutopia @katgironpe Katherine G. Pe www.blog.bridgeutopiaweb.com
THE OBVIOUS
It is absolutely required to test on a device.
iOS development requires an iPod Touch/ iPhone/iPad A Mac/ Hackintosh
iOS Developer Program
CHOICES
NOT FREE FREE MobiRuby
ATM, RUBY GEMS WILL NOT WORK WITH
What I have tried so far
Corona SDK Makes you focus on app monetization
Corona SDK for iOS costs $199/ year
Corona SDK Advantages +1
It’s great for beginners
None
Corona SDK uses Fast, simple, efficient
brew install lua Strings >print(“Welcome to Baguio”) >print(“Welcome\n\to\nBaguio”) >print(string.len(“Welcome to
Baguio”)) >greeting = “Welcome to Baguio” >print(string.gsub(greeting, “Baguio”, “BAGUIO”))
brew install lua Tables Arrays >t = {"Baguio", "Bulacan", "Tarlac",
"Manila"} >for i,v in ipairs(t) do print(i,v) end Dictionaries >t = {baguio=”2600”, bulacan=”3017”} >for k,v in pairs(t) do print(k,v) end
brew install lua Tables Tables within a table >t =
{ {baguio=”2600”, bulacan=”3017”}, {mars=”24600”, moon=”30170”} } >print(t[1]["baguio"]) Mixed data types including functions >local function hi() >print(“Hello World”) >end >local t = {1, 2, 3, hi, true} = { 100, 100, helloWorld, true }
Corona SDK Disadvantages -1
It’s NOT open source & there’s not much support for
existing open source Lua projects
which makes this Corona SDK alternative interesting:
Xcode simulator is still better.
Test-Driven Development
Code without tests A promise of code
Unit Tests Functional Tests Integration Tests Automated On-Device Testing
lua-TestMore
lua-TestMore require('More') plan(2) local someValue = 1 local test_count =
0 is(someValue, 1, "someValue should be equal to 1") test_count = test_count + 1 isnt(someValue, nil) test_count = test_count + 1 done_testing(test_count)
It’s still best to use Objective-C
Because of Community Support
What TDD/BDD frameworks are worth trying out?
If you are a Rubyist, you probably know
For mobile app developers who like Cucumber: Calabash www.github.com/calabash
Other TDD/ BDD frameworks: Specta www.github.com/petejkim/specta KIF www.github.com/square/KIF