Clean Up the DOM

We start our second DOM test, which exposes a surprise: Unlike JsTestDriver, Testacular doesn’t clean up the DOM for us between test runs. We introduce an afterEach() function to take care of the problem, then turn our attention to ensuring the Raphaël canvas is the correct size.

  1. LL7Unit Testing DOM Manipulation Code

    Fri, 9 Nov ’12
  2. LL8Automatopia

    Fri, 30 Nov ’12
  3. LL9Unit Test Strategies, Mock Objects, and Raphaël

    Fri, 8 Mar ’13
  4. E41Seeking the DOM

    Wed, 24 Oct ’12
  5. E42There’s Our Tag

    Mon, 29 Oct ’12
  6. E43Keep Layout and Program Separate

    Wed, 31 Oct ’12
  7. E44Raphaël

    Mon, 5 Nov ’12
  8. E45IE 8 Compatibility

    Wed, 7 Nov ’12
  9. E46Clean Up the DOM

    Mon, 12 Nov ’12
  10. E47Element-ary

    Wed, 14 Nov ’12