Skip to content

Book review: Testable JavaScript

I recently (finally) finished a technical book I’ve been working through since December, Testable JavaScript.

About the book

Most of all I enjoyed the writing style of the book. The author had a very casual tone that made it easier to read than other technical books that I’ve attempted to read, and while that’s less related to the content, writing a technical book that I can stand reading gets an author so many points.

One of the things I liked about the book that I’d also use as the major criticism is that it has a broad range in topics. Topics include: unit tests, integration tests, code complexity, code coverage, event-based programming, debugging, and automation. I categorize all of those as things I’m happy to learn more about, but sometimes the segue was a little shaky. Another downside (for me) – a lot of the testing examples were with YUI, something I don’t use, well, ever.

On testing

Last month, I led Code Retreat with my friend Jearvon and had a good number of JavaScript developers writing their first ever test (yay!).   Anecdotally, I feel like testing is just not as common among JS people, and I’m very interested in seeing testing come up more often JavaScript circles. I suppose the topic could be old hat; people who’ve been writing software for a while at least know that they should be writing tests, even if that’s not in practice. Thoughts? Should there be more education about testing in JS?

One Reply to “Book review: Testable JavaScript”

  1. yes, more js testing, please. especially for people who are beginners to testing in general, or have only done rspec model/controller testing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.