Skip to content

WAT 2.0.0

Compare
Choose a tag to compare
@AlexDarigan AlexDarigan released this 04 Jun 17:37
8394590

CHANGE LOG

New Features

  • There is now an expand/collapse all button to open/close all your completed tests for easy viewing.

Breaking Changes

  • We have altered the way collections (arrays, dict etc) are handled in some expectation methods. Previously we used to compare by length behind the scenes but this was essentially us lying to you about the results. Some of your tests dealing with dictionaries (which are compared by reference) may now fail. Your arrays should be fine.

  • Watch related expectation methods now require you to push in the emitter as well. This was largely due to internal re-arrangement but it should have been like that in the first place.

Other Changes

  • Output is now readonly.
  • You should no longer see the case error about blank.gd
  • WAT actively prevents invalid tests from being loaded (this was causing it to crash)
  • Expectation Methods are now Objects. This helps us with internal testing of WAT itself
  • Due to the aforementioned refactoring, another error that caused crashing was fixed
  • Significant amount of other internal refactoring
  • Broken tests no longer show as a success by default
  • Default settings buttons should no longer be clearing prefixes