A Clever Little Event Monitor

A lot of our HtmlElement tests have a complicated bit of code to detect whether an event has been triggered. In this episode, we write a little function to simplify that code. The result is easier to read and eliminates the worst of our tests’ duplication.

  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