ticalabash and timocha: the keys to better & more stable titanium apps

13
Develop Titanium apps at the speed of the web! Welcome to RapidDev! The keys to Better & More Stable Titanium Apps TiCalabash & TiMocha Matt Apperson & Andrew McElroy appersonlabs.com codexlabs.com

Upload: andrew-mcelroy

Post on 06-May-2015

840 views

Category:

Technology


2 download

DESCRIPTION

How to build better, and more stable Native (Titanium) Mobile Apps using Calabash and Mocha unit testing. Gist for the Jenkins Config: https://gist.github.com/Sophrinix/70c757e8f1e4bf4578ff

TRANSCRIPT

Page 1: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Develop Titanium apps at the speed of the web!

Welcome to RapidDev!The keys to Better & More Stable Titanium Apps

TiCalabash & TiMocha

Matt Apperson & Andrew McElroyappersonlabs.com

codexlabs.com

Page 2: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

The tools we will be using…

ti-mocha

Jenkins

‣ Unit testing framework

‣ Author: visionmedia

‣ Ported to Titanium by Tony Lukasavage

‣ https://github.com/tonylukasavage/ti-mocha

‣ CI server

‣ Author(s): A long list of community members

‣ http://jenkins-ci.org/

Ti-Calabash

‣ Acceptance testing

‣ Author: Xamarin

‣ Ported to Titanium by Apperson Labs & Codex Labs

‣ https://github.com/appersonlabs/TiCalabash

Page 3: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Oh, and RapidDevnpm install rapiddev -g

Page 4: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

“it’s not me it’s you”- Titanium mobile

Page 5: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps
Page 6: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Unit.test !== TDD.test- The internet

Page 7: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Using the Development dir

Page 8: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Ti-Mochatonylukasavage.com/ti-mocha/

Page 9: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

TiCalabashgithub.com/appersonlabs/TiCalabash

Page 10: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Jenkinshttp://jenkins-ci.org/

Page 11: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Install Git Plugin

Page 12: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

Install TFS Plugin(Optional)

https://github.com/jenkinsci/tfs-plugin

Page 13: TiCalabash and TiMocha: The keys to Better & More Stable Titanium Apps

JenkinsSet your ENV