Wednesday, February 25, 2009

QUnit - Unit testing javascript

Started using QUnit for unit testing javascript/jquery code. Using the likes of Watin with NUnit, we can write a unit test that browses to a .htm page that contains the QUnit tests. By checking the actual html rendered by by the QUnit test runner (using Watin of course) we can verify if all the tests passed or failed.

Will update this post with technical examples soon...

No comments:

Post a Comment