Unit testing JavaScript

for MadJS

Brice Ruth
Feb 11, 2013

About Me

  • Developer for 14+ years
    • Embedded avionics
    • web tech
    • CMS
    • enterprise Java
  • Currently: Grails/CoffeeScript/Backbone
  • Unit testing since 2005
  • TDD since ~2010
  • @bdruth

Resources

Books

Down arrow

Test Driven Development:

By Example

  • Kent Beck

Test-Driven JavaScript Development

  • Christian Johansen

Testable JavaScript

  • Mark Ethan Trostler

The RSpec Book

  • David Chelimsky
  • Dave Astels
  • Bryan Helmkamp
  • Dan North
  • Zach Dennis
  • Aslak Hellesoy

Forward by Robert C. Martin (Uncle Bob)

Resources

Websites

Testing

__briefly__

  • It's hard.
  • No, really. Very hard.
    • like preparing to climb Mt Everest
    • mastering yoga
    • learning to meditate
    • changing to a new diet
  • This is our craft, let's master it.

Let's Code!

live code