Christian Sepulveda

Automated Unit Testing with the Palm Mojo SDK

Date: This event took place live on July 14 2009

Presented by: Christian Sepulveda

Duration: Approximately 60 minutes.

Cost: Free

Questions? Please send email to


Target Audience: Developers who are interested in developing webOS applications with the Mojo SDK

Agile development expects that you will be implementing your applications in a test-first or behavior-first manner, progressively building a test suite as you build new functionality. This is known as Test Driven Development (TDD) or Behavior Driven Development (BDD). This leads to building your application in smaller steps, with solid code overage, and a test suite that allows you to change the code you're working on without fear of breaking other parts of your application.

How do BDD and webOS work together? Introducing Jasmine, a BDD framework for JavaScript. Unlike the many other BDD/TDD JavaScript frameworks (e.g, JsUnit, JsSpec), it does not require a DOM and does support asynchronous function calls. This makes it well suited to Palm webOS and the development of Mojo applications.

In this webcast we'll:

  • Introduce BDD and Jasmine
  • Install Jasmine and add related code to the app to support BDD
  • Discuss how to write a failing test first, then add functionality to make a test pass
  • Develop a simple webOS application test first, with the Mojo SDK

About Christian Sepulveda

Christian Sepulveda, Principal and Vice President of Pivotal Labs, has been leading teams and developing relationships for Pivotal Labs. He has written numerous articles, led tutorials and given presentations on Agile Software Development. Before joining Pivotal Labs, Christian was Vice President of Engineering of Nominum, a leading provider of industry-leading network naming and addressing solutions, from 2003-2005. Before joining Nominum, Christian was co-founder of the GaiaCom Corporation, a New York based consulting and software development firm. He has worked in a diverse set of industries, from finance to fashion, on both commercial software and internal IT applications. Christian holds a degree in Computer Science from Harvard University.