Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now
4

I haven't done extensive unit testing in java script. But the principles remain fairly same in all the languages. Properties of a good unit test would be Runs quickly and provides nearly immediate feedback Doesn't have side effects, like charging a credit card, or modifying a database or event publishing an event What needs to be tested in your case Is ...


Only top voted, non community-wiki answers of a minimum length are eligible