Skip to content

Releases: Ortus-Solutions/TestBox

6.0.0

27 Sep 15:30
bc7774b
Compare
Choose a tag to compare

New Features

  • TESTBOX-391 MockBox converted to script
  • TESTBOX-392 BoxLang classes support
  • TESTBOX-393 New environment helpers to do skip detections or anything you see fit: isAdobe, isLucee, isBoxLang, isWindows, isMac, isLinux
  • TESTBOX-394 new test(), xtest(), ftest() alias for more natuarl testing
  • TESTBOX-397 debug() get's two new arguments: label and showUDFs
  • TESTBOX-398 DisplayName on a bundle now shows up in the reports
  • TESTBOX-399 xUnit new annotation for @DisplayName so it can show instead of the function name
  • TESTBOX-401 BoxLang CLI mode and Runner
  • TESTBOX-402 New matcher: toHaveKeyWithCase()
  • TESTBOX-403 Assertions: key() and notKey() now have a CaseSensitive boolean argument

5.4.0

13 May 21:10
Compare
Choose a tag to compare

Improvement

5.3.1

13 Sep 13:21
eb64312
Compare
Choose a tag to compare

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

01 Aug 10:29
Compare
Choose a tag to compare

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

28 Jul 10:54
Compare
Choose a tag to compare

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

06 Jul 16:29
Compare
Choose a tag to compare

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

v5.0.0

10 May 15:49
Compare
Choose a tag to compare

[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

[]: 9f82084...v

v4.4.0

16 Jun 16:14
Compare
Choose a tag to compare

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.


[4.4.0] => 2021-JUN-16

Fixed

  • TESTBOX-320 Runner tries to instantiate abstract classes
  • TESTBOX-319 Fix HTTP Status Headers Being Removed By Reporters when resetting html head
  • TESTBOX-318 Chaining "not" matchers before regular matchers doesn't work correctly
  • TESTBOX-316 Coverage output doesn't escape ending script tag
  • TESTBOX-315 ConsoleReporter fails with missing functions in assets/text
  • TESTBOX-313 No matching function [SPACE] found
  • TESTBOX-311 CF error variable [THISBUNDLE] doesn't exist when running tests

Changed

  • TESTBOX-317 Full Null Support Some items of array can be NULL
  • TESTBOX-314 text and min text whitespace management
  • TESTBOX-301 notToBeBetween seems to be the same as toBeBetween

[4.3.1] => 2021-MAY-25

Fixed

  • TESTBOX-310 acf regression on caluclating length of arrays with len()

[4.3.0] => 2021-MAY-24

Bugs

  • TESTBOX-299 Bug in XML-escaping in JUnit reporters
  • TESTBOX-298 min reporter is making assumptions that url.directory will exist
  • TESTBOX-297 code coverage QoQ doesn't account for nulls in sum()
  • TESTBOX-287 Simple Reporter doesn't show the Test that fails but the assertion in the origin

Improvements

  • TESTBOX-305 Show the type of the actual pass into instance type expectations
  • TESTBOX-300 Improvement: shift test summary to the bottom of MinTextReporter
  • TESTBOX-295 Update the junit and antjunit reports to NOT include supported locales due to the size of the packet

New Features

  • TESTBOX-309 Reworked simple reporter to better visualize fail origins and tag contexts.
  • TESTBOX-308 Simple reporter now has editor integrations to open failure and error stacks in your editor
  • TESTBOX-307 New text and min text reporters to improve visualizations
  • TESTBOX-306 Test failures triggered in beforeAll are counted incorrectly

[4.2.1] => 2020-NOV-19

Fixed


[4.2.0] => 2020-NOV-19

Fixed

  • TESTBOX-281 - request.testbox: Component ... has no accessible Member with name [$TESTID]
  • TESTBOX-290 - Turning on "Prefix serialized JSON with" in ACF causes issues in code coverage report
  • TESTBOX-293 - Force properties file to have properties extension and escape special chars

Added

  • TESTBOX-291 - refactor usage of locks for debug utility in specs

[4.1.0] => 2020-MAY-27

Fixed

  • [TESTBOX-283] - Fix type on test results for bundlestats
  • [TESTBOX-286] - DebugBuffer was being removed instead of resetting to empty for getMemento
  • [TESTBOX-281] - request.testbox Component ... has no accessible Member with name [$TESTID]

Added

  • [TESTBOX-282] - Added cfml engine and version as part of the test results as properties
  • [TESTBOX-284] - Update all reporters so they can just build and return the report with no content type or context repsonse resets
  • [TESTBOX-285] - make buildReporter public in the testbox core

v4.3.1

25 May 15:35
Compare
Choose a tag to compare

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.


[4.3.1] => 2021-MAY-25

Fixed

  • TESTBOX-310 acf regression on caluclating length of arrays with len()

[4.3.0] => 2021-MAY-24

Bugs

  • TESTBOX-299 Bug in XML-escaping in JUnit reporters
  • TESTBOX-298 min reporter is making assumptions that url.directory will exist
  • TESTBOX-297 code coverage QoQ doesn't account for nulls in sum()
  • TESTBOX-287 Simple Reporter doesn't show the Test that fails but the assertion in the origin

Improvements

  • TESTBOX-305 Show the type of the actual pass into instance type expectations
  • TESTBOX-300 Improvement: shift test summary to the bottom of MinTextReporter
  • TESTBOX-295 Update the junit and antjunit reports to NOT include supported locales due to the size of the packet

New Features

  • TESTBOX-309 Reworked simple reporter to better visualize fail origins and tag contexts.
  • TESTBOX-308 Simple reporter now has editor integrations to open failure and error stacks in your editor
  • TESTBOX-307 New text and min text reporters to improve visualizations
  • TESTBOX-306 Test failures triggered in beforeAll are counted incorrectly

[4.2.1] => 2020-NOV-19

Fixed


[4.2.0] => 2020-NOV-19

Fixed

  • TESTBOX-281 - request.testbox: Component ... has no accessible Member with name [$TESTID]
  • TESTBOX-290 - Turning on "Prefix serialized JSON with" in ACF causes issues in code coverage report
  • TESTBOX-293 - Force properties file to have properties extension and escape special chars

Added

  • TESTBOX-291 - refactor usage of locks for debug utility in specs

[4.1.0] => 2020-MAY-27

Fixed

  • [TESTBOX-283] - Fix type on test results for bundlestats
  • [TESTBOX-286] - DebugBuffer was being removed instead of resetting to empty for getMemento
  • [TESTBOX-281] - request.testbox Component ... has no accessible Member with name [$TESTID]

Added

  • [TESTBOX-282] - Added cfml engine and version as part of the test results as properties
  • [TESTBOX-284] - Update all reporters so they can just build and return the report with no content type or context repsonse resets
  • [TESTBOX-285] - make buildReporter public in the testbox core

v4.3.0

24 May 23:34
Compare
Choose a tag to compare

[4.3.0] => 2021-MAY-24

Bugs

  • TESTBOX-299 Bug in XML-escaping in JUnit reporters
  • TESTBOX-298 min reporter is making assumptions that url.directory will exist
  • TESTBOX-297 code coverage QoQ doesn't account for nulls in sum()
  • TESTBOX-287 Simple Reporter doesn't show the Test that fails but the assertion in the origin

Improvements

  • TESTBOX-305 Show the type of the actual pass into instance type expectations
  • TESTBOX-300 Improvement: shift test summary to the bottom of MinTextReporter
  • TESTBOX-295 Update the junit and antjunit reports to NOT include supported locales due to the size of the packet

New Features

  • TESTBOX-309 Reworked simple reporter to better visualize fail origins and tag contexts.
  • TESTBOX-308 Simple reporter now has editor integrations to open failure and error stacks in your editor
  • TESTBOX-307 New text and min text reporters to improve visualizations
  • TESTBOX-306 Test failures triggered in beforeAll are counted incorrectly