If you want to use MXUnit within a CF9 ORM app, you’ll need to delete application.cfm in the mxunit folder (don’t worry, it is safe to do so) and move the mxunit folder inside your application folder. Then you may get the following exception:
Error Occurred While Processing Request
Context Validation error for tag cffunction
The end tag </cffunction> encountered on line 12 at column 11 requires a matching start tag.
If you encountered a similar error to the one above, here’s the workaround. In your own Application.cfc, set:
this.ormsettings.cfclocation = YOUR_CFC_FOLDER_PATH
Happy unit-testing. :)