The qooxdoo framework provides a set of classes and internal tools for unit testing the qooxdoo classes. Unit testing is nothing but cross-checking the implementation of the source code in terms of small units, to see whether each unit is satisfying and performing its basic intention or requirement. A unit is the smallest testable part of an application and, in object-oriented programming, the smallest unit is considered as a method.
It is the developer's responsibility to make sure that any new changes do not affect the working code. Creating some unit tests and continuously executing them identifies software breakage at an early stage. The qooxdoo framework provides a good environment to create unit test cases easily. The testrunner
tool is also provided to run the test cases. The qooxdoo framework provides a separate package named qx.dev.unit
, with a set of classes, where these classes provide an interface to qooxdoo's unit test framework.
The class hierarchy for unit testing...