Friday

Javascript Unit-Testing with DOH

The Web 2.0, is getting pervasive, today. This lead to JavaScript plays a vital role in Web 2.0. To write a perfect, flawless JavaScript, unit-testing is very important to ensure a high quality JavaScript work.

Today, I am going to explain DOH, a JavaScript unit-testing framework.

Unit testing is an important part of quality software development, particularly in the agile and extreme programming development methodology. Traditionally, automated unit testing of Web 2.0 client-side user interfaces was difficult and often not attempted. However, Dojo provides a unit testing harness that lets you evaluate both JavaScript functionality and the visualization of the user interface. This results in a thoroughly tested user interface that will ultimately contain significantly fewer bugs. This article demonstrates the main features of the Dojo Objective Harness (DOH) and describes its superior capabilities compared with other test harnesses for Web 2.0 applications.

Read more in

No comments: