More Testing with TestRunner

The current legacy_0_7_x branch of qooxdoo now supports a make test-source target (besides the existing make test target). So if you invoke that target in a Skeleton-based application environment, it will create a TestRunner instance for your application. The new thing: With make test-source the test frame can link into the source tree of your application. This allows for test-driven development where you simultaneously develop your source classes, the test classes and run the tests. See the TestRunner wiki page for more information. (Thanks to Istvan Ballok who provided the initial patch for this).

See the TestRunner in action.

Testing qooxdoo with Simulator

Testing web apps in general and qooxdoo apps in particular has been a recurring issue in the community (e.g. see this wiki page and the links provided here).

The new Simulator project aims to facilitate testing of qooxdoo apps through integration with Selenium, a popular, open-source web testing framework. The nice thing about Selenium is that it also lends itself well to automating web pages ("simulations"), hence the name.

The project is still in its early stage, its main contribution being a qooxdoo-specific extension to the Selenium engine. This extension adds commands and so called locators to Selenium that hook into qooxdoo's object system and ease the way a test interacts with qooxdoo. If you are concerned with testing qooxdoo apps, or are already using Selenium for your work, this qooxdoo-contrib contribution might be interesting. Other parts of the project include a small sample application with an interactive Selenium shell and ready-to-run test scripts that can also be used as templates for your own endeavours.

Check it out and visit the Simulator project home page.

 

Control

 

Categories:

Archives:

 
SourceForge.net Logo

Bad Behavior has blocked 635 access attempts in the last 7 days.