Release Notes

Randy Merrill edited this page Feb 9, 2012 · 1 revision
Clone this wiki locally

{toc:maxLevel=2}
{tip}You can get the latest stable version of MXUnit here: https://github.com/downloads/mxunit/mxunit/mxunit-2.1.1.zip

You can get the latest nightly build here: https://github.com/mxunit/mxunit/zipball/nightly_latest_stable_build

You can get the latest version of the Eclipse plugin by pointing at this update site: [[http://mxunit.org/update]
{tip}
{section}

{column:width=50%}

Framework \-\- 2.1.1 \-\- January 17, 2012

Enhancements

  • “OrderedTests” TestDecorator
  • You can now pass “mxunit_root” (a web path) to getHTMLResults()
  • CF7 Compat fixes

Special thanks to Ryan Anklam for the Test Ordering, Andrea Campolonghi for mxunit_root override, and Bob Chesley for CF7 compat fixes

Framework \-\- 2.1 \-\- November 12, 2011

Enhancements

  • TestDecorators
  • Array, Query, and Structure deep comparison in assertEquals()
  • Improved Test Ordering

Special thanks to Mark Mandel, Ryan Anklam, and Tim and John Farrar

Framework \-\- 2.0.3 \-\- May 5, 2011

Enhancements

  • User-contributed “assertEqualsWithTolerance()” function which adds a tolerance parameter to equality assertions
  • Updated samples/build.xml with hints for using with Jenkins
  • Updated mxunit-ant.jar to log the entire html response to the console if the test run bombs (i.e. 500 error)

Framework \-\- 2.0.2 \-\- November 19, 2010

Enhancements

  • added restoreMethod() for undoing method overwrites from injectMethod(). This is particularly useful when using ColdSpring-managed objects in your tests. Inspired by [this post|http://www.silverwareconsulting.com/index.cfm/2009/7/14/Using-MXUnits-injectMethod-to-Reverse-an-injectMethod-call#c82B9BFA8-0DE7-8E6D-2C4C1BC85072A908]] 
  • HTML Result tweaks… mostly code cleanup. Also, no need to specify a result type any longer as it defaults to the new HTML output introduced in MXUnit 2.0

Bug Fixes

  • User-supplied patch to JUnitXMLTestResult to properly encode “special characters”. Thanks\!

Framework \-\- 2.0.1

Enhancements

  • debug() and request.debug() now support all attributes of cfdump. For example, you can now do: debug(var=mystruct, top=5, label=“some label”); This is particularly important when debugging ORM objects
  • Assertion isTypeOf() now considers interfaces

Bug Fixes

  • Core features should now be CF7 compatible.
  • MightyMock behavioral inconsistency on CF8 fixed
  • Components with output=true have been turned to output=false where appropriate. This important fix addresses a memory condition in MightyMock on Adobe ColdFusion

Backwards Compatibility

  • debug() will be backwards compatible IF for calls not using named arguments
  • debug() will now fail if the old (removed) “debugdata” argument was passed like so: debug(debugdata=someStruct); to fix, either change debugdata to “var” or remove the named argument

{column}
{column:width=5%}

{column}
{column:width=45%}

Eclipse Plugin \-\- 1.4.4 \-\- January 15, 2012

  • Added ability to turn off automatic alphabetical ordering of test methods. When disabled, the tests will be ordered in the tree in the order specified by the server

Eclipse Plugin \-\- 1.4.1 \-\- March 23, 2011

  • Added “Run MXUnit Tests” to the “Run As” menu. Default keybinding is alt-shift-x, m (you can change that in preferences)
  • Added support for opening files from the “Tag Context” panel when those files are not in projects, i.e. opens from the file system.
  • Thanks Denny for these contributions\!

{column}
{section}