I ran across this tutorial which was originally posted in November of 2012. Recently, I gave a demonstration of qunit in our technology discussion group, so the timing is right on.
Christian Johansen on Jan 14th 2012
- Difficulty: Intermediate-Advanced
TDD is an iterative development process where each iteration starts by writing a test which forms a part of the specification we are implementing. The short iterations allow for more instant feedback on the code we are writing, and bad design decisions are easier to catch. By writing the tests prior to any production code, good unit test coverage comes with the territory, but that is merely a welcome side-effect.