The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

 

Category Filtering: 'mockbox'

 

ColdBox 4 Book has arrived

Luis Majano
May 04, 2015

 

We are excited to finally announce the availability of the ColdBox 4 printed and kindle book. Enjoy!

 

Books, CacheBox, ColdBox MVC, CommandBox, ContentBox CMS, LogBox, MockBox, TestBox, WireBox 0

Book Release Galore!

Luis Majano
Apr 24, 2015

 

We are so excited to announce the general availability of 5 new Ortus Books in print and kindle format about our products.  We have been hard at work to produce high quality documentation and transition all our documentation to book format.  We only have two more in the works right now with a target release of May (ColdBox + ContentBox).  So without further ado, here are the 5 new books for your reading pleasure!

 

Books, CacheBox, ColdBox MVC, CommandBox, ContentBox CMS, LogBox, MockBox, TestBox, WireBox 0

TestBox Printed Book Available Now

Luis Majano
Apr 21, 2015

 


We are delighted to announce the availability of our TestBox : Behavior Driven Development print book.  You can purchase it now from our online store and it will be in all Amazon distributers worldwide in a few weeks.  Enjoy and thank you for supporting us.

Books, MockBox, TestBox 0

TestBox Documentation Book Released

Luis Majano
Mar 26, 2015

 

We are proud to announce the general availability of the new TestBox & MockBox documentation in book format.  The book can be read online and downloaded for Free for all types of readers and mobile devices.  Enjoy!

 

Free, MockBox, TestBox 0

TestBox BDD v2.1.0 and MockBox Released!

Luis Majano
Nov 14, 2014

 

We are so excited to bring you TestBox 2.1.0 and MockBox 3.1.0!  These releases are minor releases of our libraries and include not only great features but a slew of fixes.  You can read all about the exciting features in our What's New Guide!  They have also been integrated with CommandBox, our new ColdFusion CLI and package manager, to allow you to download, install and even execute tests in the command line.  We have also made available our integration server builds which can also be installed via our CLI.

You can now do this to install TestBox or MockBox.

// install testbox
box install testbox

// install testbox bleeding edge
box install testbox-be

// install mockbox
box install mockbox

// Execute tests
box testbox run runner="runner path"

// Generate a bdd spec
box testbox create bdd MySpec

 

Release Notes

Bugs Fixed

  • [TESTBOX-96] - isEqual on Query fails when queries are equal
  • [TESTBOX-97] - equalize fails on struct/objects/arrays when null values exist within them
  • [TESTBOX-98] - Floating Point Number isEqual Fails
  • [TESTBOX-100] - Specs with the same name cause thread name exceptions when using async
  • [TESTBOX-101] - Download file has "samples" instead of "tests" directory
  • [TESTBOX-102] - tobe() cannot handle sparse arrays on Adobe CF
  • [TESTBOX-103] - xUnit compatibility CF9 broken due to isClosure() being utilized
  • [TESTBOX-105] - skip closures get more metadata arguments when being executed.
  • [TESTBOX-115] - testbox errors when using complete null support in railo

Improvement

  • [TESTBOX-40] - Have debug() include information about where it came from
  • [TESTBOX-95] - remove extra whitespace in text reporter
  • [TESTBOX-110] - Remove CF7,8 incompatibilities
  • [TESTBOX-118] - ColdFusion 11 cfinclude compatibilities

New Feature

  • [TESTBOX-106] - BDD run() method now receive the TestResults argument for usage in their definitions.
  • [TESTBOX-107] - BDD runner and specs receive reference to the TestBox calling class via the run() method
  • [TESTBOX-108] - Update the apidocs with our new DocBox skin
  • [TESTBOX-109] - Debug labels and telemetry additions
  • [TESTBOX-112] - Add "top" attribute to debug method
  • [TESTBOX-114] - HTMLRunner add big request timeout setting to avoid server cut offs
  • [TESTBOX-116] - have expectations assertions return the expectation to allow chaining
  • [TESTBOX-117] - Simple reporter includes now a test bundle filter
  • [TESTBOX-119] - New lifecycle method: aroundEach() so you can do a full AOP advice on any spec

 

Resources

 

ColdBox MVC, CommandBox, MockBox, News, Releases, TestBox 0

TestBox BDD v2.0.0 and MockBox Released!

Luis Majano
Jun 09, 2014

 

We are so excited to bring you TestBox 2.0 and MockBox 3.0!  These releases are major releases of our libraries and include not only great features but a new repository home.  TestBox/MockBox have been decoupled from the ColdBox core and are now available standalone only (http://github.com/ortus-solutions/testbox).  They have also been integrated with CommandBox, our new ColdFusion CLI and package manager, to allow you to download, install and even execute tests in the command line.  We have also made available our integration server builds which can also be installed via our CLI.

You can now do this to install TestBox or MockBox.

// install testbox
box install testbox

// install testbox bleeding edge
box install testbox-be

// install mockbox
box install mockbox

// install mockbox bleeding edge
box install mockbox-be

// Execute tests
box testbox run runner="runner path"

// Generate a bdd spec
box testbox create bdd MySpec

 

Release Notes

Bug

  • [TESTBOX-75] - Suite marked as skipped even when nested suites executed
  • [TESTBOX-76] - assertSame / assertNotSame behaving differently from MXUnit
  • [TESTBOX-77] - Incorrect message for isNotEmpty assertion
  • [TESTBOX-79] - isEmpty returns true when it receives a function
  • [TESTBOX-84] - TestBox is walking up the tree instead of down the tree for beforeEach
  • [TESTBOX-87] - addAssertions() method failure on adding CFCs
  • [TESTBOX-90] - teardown(), afterEach() will only be executed if the test not Failed
  • [TESTBOX-92] - HTML reporter not showing skipped or hidden specs/suites correctly

Improvement

  • [TESTBOX-73] - Always output variables when using assertEquals()
  • [TESTBOX-81] - Add a shorthand for getMockBox.prepareMock(Object).$getProperty('VarName')

New Feature

  • [TESTBOX-74] - Ability to pass labels to the URL runner to execute only the labels thanks To Juerg Anderegg
  • [TESTBOX-78] - New method to retrieve private variables: getProperty()
  • [TESTBOX-83] - Add echo of test results on ANT build file so you can see results on the console
  • [TESTBOX-88] - Refactor to its new repository
  • [TESTBOX-93] - Integreate with box.json for CommandBox package management
  • [TESTBOX-94] - TestBox now sends a mini report as headers when making HTTP requests to it

Resources

Finally, TestBox is also a direct drop-replacement for MXUnit as well.  

ColdBox MVC, CommandBox, MockBox, News, Releases, TestBox 0

MockBox v2.3.0 Released!

Luis Majano
Feb 12, 2014

 

logo

We are proud to announce MockBox 2.3.0. This version of MockBox includes some important fixes for your mocking adventures. You can read our What's new with MockBox 2.3 to get a better idea of this release.

 

 

 

Bug

  • [MOCKBOX-16] - Cannot mock built-in CF functions

Improvement

  • [MOCKBOX-8] - Allow a 'callback' argument to be passed to $() and a new $callback() method

Resources:

ColdBox MVC, MockBox, News, Releases 0

ColdBox Platform v3.8.0 + Libraries Released

Luis Majano
Dec 18, 2013

 

It is a happy day here at Ortus Solutions as we bring you yet again a plethora of releases of all our major open source libraries.  This is the culmination of over 6 months of hard work to get you updates for all of our major open source libraries and even a new library, TestBox.  You can read more about our releases in our engineering blog:

CacheBox, ColdBox MVC, ColdFusion, DevBox, LogBox, MockBox, News, Releases, TestBox, WireBox 0

MockBox v2.2.0 Released!

Luis Majano
Dec 18, 2013

 

logo

We are proud to announce MockBox 2.2.0. This version of MockBox includes some important fixes for your mocking adventures. You can read our What's new with MockBox 2.2 to get a better idea of this release.

 

 

 

Bugs Squashed

  • [MOCKBOX-10] - StackOverflowError when passing a function as an argument to a mocked method
  • [MOCKBOX-11] - Mocking with args looses hash as argument signtature is preserved. Added new argument 'preserveArguments' so you can use this
  • [MOCKBOX-12] - $reset() bug, counter and logs are cleared rather than replaced

Resources:

ColdBox MVC, MockBox, News, Releases 0

Coldbox CBDW2013 Online Training is Available!

Luis Majano
Oct 02, 2013

 

We are very excited to announce our second online course available for both ColdBox and ContenBox Modular CMS thanks to our annual conference CBDW2013: http://www.udemy.com/coldbox-platform-developer-week-2013/.  This course covers over 50 lectures and over 30 hours of video content.  This is definitely an ultimate training tool for you or your organization and it definitely helps us pay the bills :)

CacheBox, ColdBox Lite, ColdBox MVC, Community, ContentBox CMS, Couchbase, DevBox, Events, ForgeBox, Media, MockBox, Modules, News, ORM, Plugins, Presentations, Training 0
1 2 3 4 >>