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
2
230
Mobile Application Development
A Geekcamp Baguio presentation
Focus on Corona SDK and TDD frameworks for Cocoa
Katherine G Pe
June 30, 2012
Tweet
Share
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
240
Rails 3.1: From Idea to Deployment
kathgironpe
4
210
Geekcamp Baguio
kathgironpe
2
400
Other Decks in Programming
See All in Programming
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.4k
CSC307 Lecture 15
javiergs
PRO
0
270
今年もTECHSCOREブログを書き続けます!
hiraoku101
0
160
ロボットのための工場に灯りは要らない
watany
12
3.2k
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.6k
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
290
飯MCP
yusukebe
0
380
Ruby and LLM Ecosystem 2nd
koic
1
1.3k
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
160
存在論的プログラミング: 時間と存在を記述する
koriym
5
520
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
590
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
170
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Amusing Abliteration
ianozsvald
0
140
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
Designing Experiences People Love
moore
143
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
420
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
690
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.4k
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