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, Books, CacheBox, CacheBox, ColdBox, ColdBox, CommandBox, CommandBox, ContentBox, ContentBox, LogBox, LogBox, MockBox, MockBox, TestBox, TestBox, WireBox, 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, Books, CacheBox, CacheBox, ColdBox, ColdBox, CommandBox, CommandBox, ContentBox, ContentBox, LogBox, LogBox, MockBox, MockBox, TestBox, TestBox, WireBox, 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, Books, MockBox, MockBox, TestBox, 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, Free, MockBox, MockBox, TestBox, 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, 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, CommandBox, MockBox, News, Releases, TestBox 0