Entries in jsTestDriver (2)

Sunday
Sep252011

Making Javascript Unit Testing Work (Part 3: My Choices)

In the previous installment of this series, I reviewed Jasmine and JsTestDriver, two exciting tools that have simplified Javascript unit testing. In this post, I'll explain my setup. (Hey, shameless plug, but if you're interested in my evaluation criteria, see my first post on the subject.)

Click to read more ...

Saturday
Sep172011

Making Javascript Unit Testing Work (Part 2: Comparing Tools)

In part one of this series, I discussed seven criteria for selecting a Javascript unit test framework: ease of writing readable tests, mocking, DRY fixtures, continuous integration, support for your favorite debugging tools, support for your backend, and cross-browser compatibility. In this post, I'm going to talk about two frameworks that looked particularly promising: jsTestDriver and Jasmine.

Click to read more ...