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

Post on 06-May-2015

839 views 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 of 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

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

Oh, and RapidDevnpm install rapiddev -g

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

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

Using the Development dir

Ti-Mochatonylukasavage.com/ti-mocha/

TiCalabashgithub.com/appersonlabs/TiCalabash

Jenkinshttp://jenkins-ci.org/

Install Git Plugin

Install TFS Plugin(Optional)

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

JenkinsSet your ENV