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
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
110
Creating Faster Websites Faster
kathgironpe
2
930
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
[DroidKaigi 26] How We Moved from Android Studio to Slack
thisaay
0
160
Deep dive into the select statement (GopherCon UK)
jespino
0
170
初心者DevRelとして参加者だった私が、DevRel Talks!#2に登壇するまでにしてきたこと
sokohirai
0
320
Cloudflare is Agents
chimame
0
190
AIの中の人になってみる
htkym
0
150
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
620
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
250
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
140
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
260
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
260
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
160
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
780
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Bash Introduction
62gerente
615
220k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
520
How to Talk to Developers About Accessibility
jct
2
530
Six Lessons from altMBA
skipperchong
29
4.5k
Google's AI Overviews - The New Search
badams
0
1.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
260
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
320
Crafting Experiences
bethany
1
280
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Optimizing for Happiness
mojombo
378
71k
The World Runs on Bad Software
bkeepers
PRO
72
12k
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