QUnit: JS Unit Test framework

QUnit is a powerful, easy-to-use JavaScript unit test suite. It’s used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!
QUnit: A JavaScript Unit Testing framework

This is used by the jQuery projects, so probably worth a look. Javascript has found new niches, with all the extensibility available now to develop effective web front-ends in a more secure and efficient manner. Javascript detractors have long predicted demise of Javascript, but that’s a way off yet and perhaps now irrelevant, given the previous accusation centred around it’s limitations.

BDD with Behat and Zend Framework 2

behat world

behat

By the end of this presentation, you’ll understand the heart of Behat: how to install it, what it does, and how to use it.

Useful demonstration of using Behat with Zend, which increased Behat’s extensibility. As with anything to do with Behat, it’s refreshing simple setup. For the actuall Behat/Zend integration tutorial, jump to “Act 5”, which is about 75% into the presentation.

Test Strategy Example

Test Strategy example

Test Strategy exampleTest strategies are often omitted because no-one ever reads them. And why aren’t they read? well, sidestepping “laziness”, it’s that too often they are unhelpful. So instead of sighing and drumming up something useless, why not generate something useful instead. Click here to view example of a risk based test strategy.
Continue reading

ItsNat: Component based Java Web Application Framework

ItsNat is a Java AJAX web framework with functional web test built-in. Simulates a Universal Java W3C Browser in the server, the client DOM tree is basically a clone of the server and is updated automatically when the server changes usually as the response of an AJAX event. The server can fire W3C DOM events and send them to the browser simulating user actions. These are received again by the server as in a normal AJAX app. As the test code is in the server too, can check the expected GUI changes (checking the server DOM tree) or the expected business behavior (added/removed/updated data).