Unit Testing JavaScript when you're Afraid of JavaScript

16 Mar 2013

I spoke at Nebraska Code Camp on how to unit test JavaScript when you're deathly afraid of the language.

We've gone from writing toy programs in JavaScript to full-blown applications, but our testing skills haven't caught up. Weirdly, lots of us are coming to JavaScript from other languages that value and encourage testing. What happened?

Turns out, unit testing JavaScript is different than other languages, and doing it well means you have to rethink how you write JS code.