Features include a simple-to-use extensible framework that allows developers to spend more time writing tests and code than getting distracted by frameworks details. The MXUnit Eclipse Plugin further facilitates test creation by integrating running and debugging of tests within the Eclipse IDE.
Easy to see your data with cfoutput, cfdump, and debug()
Easy to run single test functions
Easy "directory runner" for running entire directories of tests
Easy to test private functions in your components
Ability to switch to message-first style assertions to help ease transition from other frameworks
A plethora of output formats from which to choose
A team actively improving the framework, making testing easier, and providing abundant documentation
So… if you've made a New Year's Resolution to start unit testing, now's a perfect time to give MXUnit a test drive. For those of you using an existing framework but have a few minutes to burn checking this one out, we'd love to hear your feedback, too.
Visit http://mxunit.org/ for downloads and details.
MXUnit will be giving both a one hour presentation and two-hour hands on workshop at Webmaniacs in Washington, D.C., in May. Also, keep an eye out at ColdFusion Meetup where MXUnit major dude, Marc Esher, will be doing a very informative presentation entitled Ant on the Wire on Thursday, February 28, 2008 at 12:00 PM EST . Then we'll follow that up with a two-part series at ColdFusion Meetup on unit testing with MXUnit.
Licensed under the GNU 3.0 Copyleft License