JavaScript Developer Survey

  • > Unit Testing - Do you unit test your JavaScript?

    IMHO the simple boolean answer doesn't really tell you that much. There is a big difference between someone having only a few unit-tests for a huge codebase, v/s someone having most of the code covered by unit tests.

    Additionally JavaScript is used a lot for user interface related stuff, where unit tests can often be more trouble than they're worth; instead full-scale functionality testing (like with Selenium) could be more useful thing to do.