Introducing Lebowski…

written by SproutCore

You know how they say that the real world produces the best software. @frozencanuck, a member of the team here at @eloqua, has written an open source Ruby testing framework called Lebowski which leverages Selenium and is specifically designed for Sproutcore and it’s unique needs. Here is a [post]( where he talks about it in detail and you can find the repository for it [here]( It is still in development, but we are starting to use it in our big SproutCore application.

**…This is a guest post by Evin Grano (@etgryphon)**

Testing and auto-generated ids in SproutCore

written by SproutCore


If you’re trying to automate tests of your SproutCore application with Selenium, for example, you’ll realise that the HTML element ids are automatically generated. They change every now and then and break all your tests.

To get rid of this problem, you can override the layerId method of certain view classes to generate a stable, and human readable, id.

The following code takes the view hierarchy, and generates an id based on the parents’ names. For example, the mainPage.mainView.someOtherView.theTargetView view will be given the mmsome.theTargetView id.