Monday, January 07, 2013

How do I Jasmine: a tutorial | Evan Hahn dot com

How do I Jasmine: a tutorial | Evan Hahn dot com: "Unit testing in a nutshell: Basically, your program will have a bunch of functions and classes. You want to make sure that, no matter what you throw at them, they'll perform how you want them to. For example, this function should always return a string that says "hello" in it. Unit testing ensures that everything goes down exactly how you planned. It's like you're God...but it's probably a little more boring because it's code."

'via Blog this'