Wednesday, 9 December 2009

Approaches to Unit Testing JavaScript

1. Create your JavaScript functions

2. Create and Host Tests

Create an HTML file to host your tests using QUnit
http://www.bitmechanic.com/blog/?p=20

3. Provide Test Runner

You need a test runner which can be integrated with CruiseControl.NET and Visual Studio.NET:

No comments: