Monday, August 2, 2010

Be on your best behavior with Jasmine; Open source BDD testing framework from Pivotal | Palm Developer Center Blog

Palm Pre shot from Mobile World Congress.Image via Wikipedia









Davis Frank and other awesome mobile pivots have released a new BDD testing framework for webOS. Jasmine webOS builds on the generic Jasmine JavaScript framework that provides the syntax for specs and the environment to execute them. Davis has more:
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.
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).

Enhanced by Zemanta

No comments:

Post a Comment

[Invitation] Galaxy Unpacked 2024, Jan 17: Opening a New Era of Mobile AI.

A revolutionary mobile experience is coming. Get ready to discover a new era full of possibilities with the latest Galaxy innovations, desig...

Popular Posts