Legacy Code Part IV: Unit Tests

The conclusion of our four-part legacy code series! We’re ready to put unit tests in place for Intro.js, our real-world legacy code example. We extract our scrolling function into its own module, install Karma, and implement honest-to-goodness cross-browser unit tests around it. Challenge completed!

  1. LAB6Legacy Code Part I: Reflective Design

    Fri, 7 Mar ’14
  2. LAB7Legacy Code Part II: Pinning Tests

    Fri, 4 Apr ’14
  3. LAB8Legacy Code Part III: Refactoring

    Fri, 2 May ’14
  4. LAB9Legacy Code Part IV: Unit Tests

    Fri, 6 June ’14