7.1.0

Tutorials: * https://github.com/bitwes/Gut/wiki/Tutorials

Change Highlights

See https://github.com/bitwes/Gut/releases/tag/v7.1.0 for full change log.

  • prerun_setup, setup, teardown, postrun_teardown deprecation warnings have been enabled.
  • Issue 230 assert_true and assert_false now only accept boolean values. They will fail with anything else.
  • Issue 70 Thanks to @short-story-long for adding "property" asserts assert_property, assert_setget, assert_setget_called.
  • Issue 66 Thanks to @nilold for adding assert_not_between.
  • Added compare_deep, compare_shallow, assert_eq/ne_deep, assert_eq/ne_shallow to aid in comparing dictionaries and arrays. See Comparing Things wiki page for more info.
  • Issue 201 Added pass_test(text), fail_test(text), is_passing(), is_failing() methods to test.gd.
    • No more assert_true(true, 'we got here')! Long live pass_test('we got here')!
  • Issue 184 Asserts in before_all and after_all are now formally supported. They will appear correctly in the output and asserts will be tracked in the summary.
  • Command Line now returns 1 if no sripts could be loaded.
  • Fixed various issues with parameterized tests. All test execution is now treated exactly the same, no more deprecation warnings(Issue195, Issue 196, Issue 197, Issue 202).
  • Issue 211 GDNative scripts cause Error calling built-in function 'inst2dict': Not a script with an instance when used in assertions.
  • Issue 231_ assert_is created an orphan.