I’ve spent the past couple of hours with the guys from MXUnit and ValidateThis trying to solve an out of memory problem:
Turns out that it’s because all my MXUnit tests were calling debug() which is a very expensive dump method.
The reason I’d been using this in my code was because the ColdBox demo’s use it: http://wiki.coldbox.org/wiki/Testing.cfm
Seems the general consensus on the MXUnit list is that you shouldn’t use it, unless you’re trying to solve a problem.
Do you think the docs should be amended so they don’t include this?