MockBox-ReleaseNotes

Contents

MockBox Release Notes

Version 1.3

http://coldbox.assembla.com/spaces/coldbox/milestones/187465-mockbox-1-3

  • 1003 addition of $atMost() and $atLeast() call count verifications to the $verifyCallCount methods
  • 1057 mocking argument normalization, diff expectations when name-value or positional argument calling.
  • 1140 new alias verification: $never([methodName]) to check if no interactions have been made on mock or specific method
  • 1142 new alias verification: $once([methodName]) to check if the mock has been called one time or a specific method name
  • 1144 change all mock methods to their $ name equivalents on the MockBox CFC so they are documented like so.
  • 1145 New method $reset() to give you the ability to clear all mocking counters and loggers, useful for quick resets

Version 1.2

http://coldbox.assembla.com/spaces/coldbox/milestones/153097-mockbox-1-2

  • Added new method: $verifyCallCount(count,[methodName]) that can assert how many times a component's methods have been called, or how many times a specific method has been called. Basically, it returns a boolean according to the passed expected count calls.
  • mockMethodCallCount() the methodname is now optional and it will return to you the TOTAL number of calls that have been made for ALL methods in the mocked CFC.

Version 1.1

http://coldbox.assembla.com/spaces/coldbox/milestones/127905-MockBox-1-1

  • 911 Standalone version should be refactored into its own namespace
  • 940 new method querySim() to help simulate queries

Version 1.0

  • Initial MockBox Release

 
Download in other Formats:
markup Markup | pdf PDF | html HTML | word Word

ColdBox Book

book