In response to Dean Edwards excellent Rules For JavaScript Library Authors, I want to add a 12th rule:
- 12. Every Javascript author should write his or hers own unit tests.
- When unit tests are just only an afterthought, it is to much work to write them. Unit tests aid writing too.