Skip to content

Version 6.8.0

Compare
Choose a tag to compare
@bitwes bitwes released this 06 Jun 01:09

6.8.0

Features

  • Issue 98 Added Stubbing method to_call_super so that you can force a doubled object to call its super method instead of being stubbed out.
  • Added Stubbing method to_do_nothing. This allows you to be a little more deliberate in your stubbing and is more readable than to_return(null) which is basically all it does. It also suppresses un-stubbed method messages.
  • Issue 115 Partial doubles can now be created with the partial_double method. This will give you an object that has all of its methods stubbed to_call_super. So it will act the same as a normal object, but you can spy and stub methods on it as well.
  • Experimental FULL doubling is now working in Godot 3.1.
  • Experimental FULL doubling now stubs all supported built-ins to_call_super under the covers. This means you can stub methods you haven't overloaded in your class (before you could only spy on them).
  • Issue 105 Added -gexit_on_success option to the command line to only exit if all tests passed.
  • Added get_version method to Gut.gd.

Bug Fixes

  • Housekeeping, typos and some unused variables.
  • Issue 108 Maximize doesn't move back to 0,0.
  • Xrayez fixed Issue 109.
  • Issue 117 The Spying related methods now fail if you don't pass an array for the list of expected parameters. Something I forgot about when making "TDD and P O N G" episode 2. You can watch it and enjoy me forgetting how to use my own tool.
  • Exporting tests in 3.1 appears to be working now. Could not reproduce original issue.
  • Issue 111 Tests are now sorted.