At SoftFinity we use unit testing to test the code we write. In my humble opinion that should apply to unit testing for JavaScript code too. Unit tests are a series of small functions that call the main functions of the original JavaScript code with different inputs and test to see if their outputs are... ">Read more »