Topic: Test-Driven Development & Javascript

For those of you who practice test-driven development (and those of you who want to) with your Javascript code, you may find the following website useful:

It hosts a Web 2.0 game. The point of the game is to test-drive the development of a Javascript function, by incrementally passing a series of 13 failing testcases.

In test-driven development, you write the test first, then write enough code to pass it, and finally refactor, making sure that no old tests break at any step of the development.

TDD, as it's called, is widely practiced by Rails folk but not so much in Javascript code. However, it can be done.