The SvgCanvas Class

In order for our PhantomJS test to check that a line has been drawn, we need to check the DOM to see that the right SVG elements have been created. Fortunately, we already have code to do that in our client test. We just need to make it accessible to our PhantomJS code. We choose to do that by factoring an SvgCanvas class out of our existing code.

  1. LL13PhantomJS and Front-End Smoke Testing

    Fri, 12 July ’13
  2. E94Unit Tests Aren’t Enough

    Wed, 1 May ’13
  3. E95PhantomJS

    Mon, 6 May ’13
  4. E96Smoke Test Infrastructure

    Wed, 8 May ’13
  5. E97Housekeeping

    Mon, 13 May ’13
  6. E98The SvgCanvas Class

    Wed, 15 May ’13
  7. E99Fixing Encapsulation

    Mon, 20 May ’13
  8. E100Fundamental Abstractions

    Wed, 22 May ’13
  9. E101“Good” vs. “Good Enough”

    Mon, 27 May ’13