Skip to content

Releases: bfrymire/crispy

1.9.0

26 Nov 21:33
d937466

Choose a tag to compare

Originally, I believed that a test assertion checking for no errors was unnecessary because better tests could be ran checking for successful cases. However, I found an instance were a drawing function would need to be tested, but Crispy is limited by not being able to check visuals. To bridge this gap, assertDoesNotThrow was added.

What's Changed

  • Add no error assertion (#65)
  • Backport string templates to strings (#56)

Full Changelog: 1.8.5...1.9.0

1.8.5

04 Sep 18:56

Choose a tag to compare

What's Changed

  • Added CRISPY_STATUS_OUTPUT_LENGTH config setting for length when outputting TestCase statuses

1.8.3

02 Sep 15:18

Choose a tag to compare

What's Changed

  • Disable GameMaker's Feather feature on all Crispy scripts
  • Fix JSDocs and error messages to display verbatim argument names

1.8.2

27 Jul 21:38

Choose a tag to compare

What's Changed

  • Fix TestCase.assertTrue() and TestCase.assertFalse() assertions by checking if truthy or falsey
  • Speed up TestRunner.discover() by caching all found script functions
    • Also fixes #19
  • Make all constructor toString functions static

1.8.1

18 Jun 01:49

Choose a tag to compare

What's Changed

  • Fix various throw messages
  • Added toString function to all Crispy constructors

1.8.0

24 Apr 19:40

Choose a tag to compare

What's Changed

  • Fix assertTrue()/assertFalse() using bool conversion for comparisons
  • Move class variable init to top of constructor

1.7.2

24 Feb 18:17

Choose a tag to compare

What's Changed

  • Fixed default value for optional _unpack parameter on classes
  • Fixed JSDocs and Feather issues

Full Changelog: 1.7.0...1.7.2

1.7.0

18 Jan 21:00
9702562

Choose a tag to compare

What's Changed

  • Add config macro to silence passing tests
  • Fix assertNotEqual throwing an error message when comparing different types
  • Fix Feather messages

Full Changelog: 1.6.0...1.7.0

1.6.0

26 Aug 18:41
4495a81

Choose a tag to compare

  • Fixes #27 - Added assertRaises and assertRaiseErrorValue assertion methods
    • Thanks for the feature suggestion @treylav

Full Changelog: 1.5.2...1.6.0

1.5.2

21 Jul 04:21

Choose a tag to compare

  • Replace for with repeat and i++ with ++i this will create a slight increase in performance with loops
  • Removed crispyThrowExpected() and replaced all instances of it with throw()

Full Changelog: 1.5.0...1.5.2