Small tip, but this held me up a bit.
For unit testing in ColdFusion, MXUnit is the standard. Even better, you can run your tests from within Eclipse, via a plugin.
After dropping MXUnit into my app (OSX 10.7.2 on dev machine, Eclipse+CFEclipse, Tomcat 7.0, Open BlueDragon 2.0 – had some pathing issues, but that’s another post…)
Right clicking on a unit test (such as in mxunit/samples/MyComponentTest.cfc) and selecting Run MXUnit Test, I received the following error:
Turns out it was going to port 80, rather than the port my CFML engine was running on (8080 in my case). This is an Eclipse preference:
Change the port to “http://localhost:8080/…” (or whatever you’re running) and it should work




