This course has been updated! We now recommend you take the JavaScript Testing Practices and Principles course.

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. 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