Mocha testing support for Titanium

One of the most both undervalued and underestimated aspects of app development is automated testing. Alloy lead Tony Lukasavage has been improving the automated test suite for Alloy over time and recently released ti-mocha, a Titanium port of the popular Mocha. Read all about it on his personal blog.

App imagineer: Imagining, Engineering & Speaking about Native mobile Apps with Appcelerator Titanium & Alloy • Meetup organizer • Certified Expert • Titan


Comments

  • Tony Lukasavage

    First step in much more to come WRT node.js-inspired testing and compatibility in Titanium

  • Terry Morgan

    Has anyone had any joy getting sinon.js working with ti-mocha on iOS? Seems ok(ish) on Android but on iOS, I get a require loop where sinon.js requires spy.js and spy.js requires sinon.js and proceeds to loops until the call stack limit is exceeded.