Skip to content

Releases: bfrymire/crispy

1.8.5

04 Sep 18:56
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

1.5.0

06 Mar 06:12
Compare
Choose a tag to compare
  • Added onRunBegin and onRunEnd for all test classes
    • Similar to setUp and tearDown, they fire before and after the class' run()
    • Unlike setUp and tearDown, these fire every time, not just the first time
  • Fix #28 - Fixes message variable and operator for TestCase.assertIsUndefined()
  • Added missing struct for TestCase.assertIsUndefined() pass outcome