TestBox 3.0.0 is a major release. It has compatibility changes that you should be aware and lots of good feaures!
The major compatibility issues are the engine support removals:
Lucee 4.5 Support Dropped
Adobe ColdFusion 10 Dropped
It is easy to update, just type update testbox
and you are done!
The most notable features of this release can be found below.
This has been fully documented and you can find much more information in the code coverage section.
The static test visualizer is basically the simple reporter but works in offline mode. This means that it will read a static TestBox results json file and create the report for it in the browser. This is incredibly useful for CI integrations and representing any TestBox results json file visually.
You will find the analyzer under /test-visualizer
in the root of the TestBox installation.
To run it all you need to do is put alongside of it a test-results.json
file and then run the index.html
and voila! Test Results Visualized!
[TESTBOX-234] - bddrunner.cfm: now compiles properly on ACF
[TESTBOX-248] - Skip methods for given/when/then fail without `this` reference
[TESTBOX-236] - Add CodeCoverage Reporter to TestBox
[TESTBOX-239] - Update the UI for the code coverage reporting and code visualizer
[TESTBOX-243] - Complete UI updates for test reporters
[TESTBOX-245] - Static Test Visualizer
[TESTBOX-237] - Update usage of htmleditformat to encodeForHTML
[TESTBOX-242] - Removal of old cfml engines support acf10 and lucee 4.5
[TESTBOX-244] - streamify the code coverage collection
[TESTBOX-249] - Add original method name to mocking function so it can help in debugging