Not only should you have unit tests for your User Interface & Middle Tier code, but you should also consider unit testing your JavaScript code.
There are several different Unit Testing frameworks made for JavaScript that you have to choose from.
Note: In future posts I will show examples of how to use each of these frameworks… as for now, this is just an introduction to the tools I’ll be covering.
Framework | Description |
YUI Test |
YUI Test is a testing framework for browser-based JavaScript solutions. Using YUI Test, you can easily add unit testing to your JavaScript solutions. While not a direct port from any specific xUnit framework, YUI Test does derive some characteristics from |