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
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
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
330
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
570
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
750
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
170
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
5.9k
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
180
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
610
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
4
740
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
260
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
280
Featured
See All Featured
Bash Introduction
62gerente
615
220k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
140
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Done Done
chrislema
186
16k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Color Theory Basics | Prateek | Gurzu
gurzu
0
360
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Abbi's Birthday
coloredviolet
2
8.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
860
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