Skip to content

6.6.2

Compare
Choose a tag to compare
@bitwes bitwes released this 02 Feb 03:36
3e8872e

6.6.2

Features

  • assert_null and assert_not_null
  • added simulate to the test object so you no longer have to use gut when calling it. It is fine if you still do though. Sorry if this breaks something.
  • Doubling, Stubbing, and Spies are no longer considered experimental.
  • The double method is now smart:
    • It knows when you pass it a scene or a script, no need for double_scene anymore but it remains.
    • You can pass it a loaded class or scene like this:
    var MyClass = load('res://my_class.gd')
    var MyClassDouble = double(MyClass)
    
  • You can now double Inner Classes by passing an Inner Class path like so:
    double('res://my_script.gd', 'Inner1/InnerInInner1/AndSoOn')
    
  • The start of an internal Gut logger to make better messages down the road.
  • Experimental Full doubling allows you to Spy on most Built-in methods. You still cannot Stub them though. This must be enabled, details in the Double Wiki page.
  • Added link to Rainware's setup tutorial on youtube to the README

Fixes

  • Issue 94 Gut runs after_all on inner classes that are skipped.
  • Rawsyntax fixed a bunch of misspellings so that we can erock on with less bad speligs fo wrds.