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.

Agile test automation

How does automated testing fit into Agile? It hasn’t changed that much, but a sensible approach (assuming development process is also sensible), is to do a combined UI and code level test, so you minimise the high-maintenance part (the UI tests). UI tests are always appealing, as easy to generate (with fine tuning, of course) but ultimately they are harder to maintain ongoing. The first flurry of automation can lead to a muddle of part-baked scripts, with no-one maintaining them and little relevance to requirements.
Continue reading