Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Mobile Application Development
Search
Katherine G Pe
June 30, 2012
Programming
240
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
[GoCon2026] When Goroutines Are Not Enough: Runtime Locality in High-Throughput Go
takehaya
6
2.3k
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
410
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
setup-vp GitLab対応の裏側
naokihaba
0
100
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
420
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
690
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
100
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
280
AHC070解法紹介
eijirou
0
120
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
120
Jetpack Compose メカニズム
skydoves
0
430
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
250
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Chasing Engaging Ingredients in Design
codingconduct
0
310
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
550
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
For a Future-Friendly Web
brad_frost
183
10k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
350
It's Worth the Effort
3n
188
29k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
520
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