How to Test Legacy Code

We retrofit tests onto our previously hacked-together code. We’re lucky: our class is already designed for testability and adding the tests is pretty easy. You may not be so lucky, so we take a few minutes to talk about the challenges of adding tests to legacy code and the general strategy to use in that situation.

  1. E146Fix the Mess

    Wed, 30 Oct ’13
  2. E147How to Test Legacy Code

    Mon, 4 Nov ’13
  3. E148Abstractions: What and When?

    Wed, 6 Nov ’13
  4. E149Testing the Capture API

    Mon, 11 Nov ’13
  5. E150Maintain Your Tests

    Wed, 13 Nov ’13
  6. E151A Clever Little Event Monitor

    Mon, 18 Nov ’13
  7. E152A Cure Worse than the Disease

    Wed, 20 Nov ’13
  8. E153A Happy Middle Ground

    Mon, 25 Nov ’13