Jasmine webOS

JavaScript BDD for Palm® webOS™

Jasmine webOS is a JavaScript library that allows you to use Jasmine, a BDD testing framework for JavaScript, to test-drive Palm® webOS™ applications. Jasmine provides the syntax for specs and the environment to execute them. Jasmine webOS adds platform-specific testing pieces for testing Scene Assistants, the Palm Depot, Ajax calls, etc. and a way to execute specs and view the results on a webOS emulator or phone.

This guide assumes you already have the Palm Mojo SDK installed and have (at least) an application generated on your file system. Jasmine webOS is known to be compatible with Palm webOS v.1.4.x.

Download

File jasmine-webos-plugin-1.0.1.zip
Version 1.0.1
Size 21kb
Date 2010/09/20 11:43:13 PDT
SHA1 a880f977b84372a99d51018ec50d8a5e2c2d6020
File jasmine-webos-plugin-1.0.0.zip
Version 1.0.0
Size 21kb
Date 2010/09/20 11:43:19 PDT
SHA1 fa6f787e9ce22dd46f3306c8b179a027d6369be6

How It Works

Jasmine webOS defines a convention for plugins into webOS applications, allowing collections of JavaScript code to be included into Palm Mojo applications apart from an application's code & other resources. This is distinct & unrelated from Palm's PDK (Plugin Development Kit).

When your application has Jasmine webOS installed, you run your specifications by launching it with a parameter telling Jasmine webOS to execute your Jasmine specs and report the results in webOS UI (emulator or phone).

Passing Specs in webOS UI Passing Specs in webOS UI

How To Use It

Then...

More detailed instructions are in the Users' Guide

Contributing

If you're interested in contributing please join the dev email list and clone the repository. We're happy to accept pull requests that come with specs.

About & Thanks

Big thanks to Pivotal Labs, Palm, and all the Mobile Pivots who have contributed: Rajan, Xian, Adam, Carl, JB, (another) Adam, Nathan, Joseph, Erik, Tyler, Chris, Carl, Kelly, Joe, Jonathan, Justin, Ryan, Bosh, and anyone I've missed.

More Info