Check out a free preview of the full Unit Testing JavaScript (with CoffeeScript) course:
The "Writing and Refactoring Unit Tests" Lesson is part of the full, Unit Testing JavaScript (with CoffeeScript) course featured in this preview video. Here's what you'd learn in this lesson:

Dave continues writing test cases for the Roman Numeral calculator in the Jasmine unit testing library. As his code begins to grow, he takes a few minutes to refactor it to create a more concise and readable spec.

Get Unlimited Access Now