A WIP group of backbone classes tested using QUnit and Sinon as a TDD example.
Three Rules of TDD
- You are not allowed to write any production code unless it is to make a failing unit test pass.
- You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures.
- You are not allowed to write any more production code than is sufficient to pass the one failing unit test.
There is a sound, working test suite in
/test/RunAllTests.html and a test suite with example TDD smells in