Skip to content

Latest commit

 

History

History
111 lines (70 loc) · 5.91 KB

changelog.md

File metadata and controls

111 lines (70 loc) · 5.91 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


[5.4.0] - 2024-05-13

Improvement

5.3.1 - 2023-09-13

Fixed

  • The variable thisSuite isn't defined if the for loop in the try/catch is never reached before the error. (#150)

5.3.0 - 2023-08-01

New Features

  • TESTBOX-379 New expectations: toBeIn(), toBeInWithCase() so you can verify a needle in string or array targets
  • TESTBOX-380 New matchers and assertions: toStartWith(), toStartWithCase(), startsWith(), startsWthCase() and their appropriate negations
  • TESTBOX-381 New matchers and assertions: toEndWith(), toEndWithCase(), endsWith(), endsWithCase() and their appropriate negations

Bugs

  • TESTBOX-378 onSpecError suiteSpecs is invalid, it's suiteStats

5.2.0 - 2023-07-28

New Features

  • TESTBOX-375 Updated mixerUtil for faster performance and new approaches to dynamic mixins
  • TESTBOX-376 Add bundlesPattern to testbox.system.TestBox init method
  • TESTBOX-377 TestBox Modules

Bugs

  • TESTBOX-346 expect(sut).toBeInstanceOf("something") breaks if sut is a query
  • TESTBOX-374 cbstreams doesn't entirely work outside of ColdBox

Improvements

  • TESTBOX-20 toBeInstanceOf() Expectation handle Java classes

5.1.0 - 2023-07-06

Added

  • Update to cbstreams 2.x series for compat purposes.

Fixed

  • Small regresion on TESTBOX-370 toHaveKey works on queries in Lucee but not ColdFusion

[5.0.0] - 2023-05-10

Fixed

  • TESTBOX-341 toHaveLength param should be numeric
  • TESTBOX-354 Element $DEBUGBUFFER is undefined in THIS
  • TESTBOX-356 Don't assume TagContext has length on simpleReporter
  • TESTBOX-357 notToThrow() incorrectly passes when no regex is specified
  • TESTBOX-360 full null support not working on Application env test
  • TESTBOX-361 MockBox Suite: Key [aNull] doesn't exist
  • TESTBOX-362 Cannot create sub folders within testing spec directories.

Improvements

  • TESTBOX-333 Add contributing.md to repo
  • TESTBOX-339 full null support automated testing
  • TESTBOX-353 allow globbing path patterns in testBundles argument
  • TESTBOX-355 Add debugBuffer to JSONReporter
  • TESTBOX-366 ANTJunit Reporter better visualization of the fail origin and details
  • TESTBOX-368 Support list of Directories for HTMLRunner to allow more modular tests structure
  • TESTBOX-370 toHaveKey works on queries in Lucee but not ColdFusion

Added

  • TESTBOX-371 Add CoverageReporter for batching code coverage reports
  • TESTBOX-137 Ability to spy on existing methods: $spy()
  • TESTBOX-342 Add development dependencies to box.json
  • TESTBOX-344 Performance optimizations for BaseSpec creations by lazy loading external objects
  • TESTBOX-345 add a skip([message]) like fail() for skipping from inside a spec
  • TESTBOX-365 New build process using CommandBox
  • TESTBOX-372 Adobe 2023 and Lucee 6 Support

[]: https://github.com/Ortus-Solutions/TestBox/compare/9f820840b1012dd89b79c62494333d4117bc1a7c...v

[]: https://github.com/Ortus-Solutions/TestBox/compare/9f820840b1012dd89b79c62494333d4117bc1a7c...v