Open main menu

CDOT Wiki β

Changes

Unit Testing

6 bytes added, 01:55, 8 December 2006
How to add test cases by using this framework
=== How to add test cases by using this framework ===
Writing the test cases by using this framework is really easy. All you need to to is opening the file '''unittesting.js''', and add any type of test case by adding following three sections. (This example is for bookmarks unit testing)
* Section 1. initialize the services (Firefox API) that contains all the units that are going to be tested. The following is the example of bookmarks services in Firefox API.
1
edit