As you might of heardCFUnit is now integrated into the beta build of CFEclipse. To bring you up-to-speed about CFUnit(incase you didn't know); CFUnit is a unit testing framework for ColdFusion, modelled after the popular JUnit framework. By building test units while creating your app you can ensure that your methods (cffunctions) and components overall behave as expected. If you are totally new to CFUnit you might want to check out the references at the end of this post.
So who is this guide for. Well nearly anyone who wants to get started with CFUnit within CFEclipse. For reference I am working on Eclipse 3.2.1 with CFEclipse 1.3 Beta RC2 1.2.9.7 and im gonna assume you've got both on your sytem. This guide doesn't really go into all the benefits of CFUnit (though by the end of this you should be able to seem them) so if you want more details afterwards check out the points of reference at the end.
As with all betas some functions never make it into the final release. This is one of those. That's not to say it won't be there in the future so look out for it!
I have walked through this amazing guide for setting this up however, i have been running into major difficulty. I can run the tests via my browser, however, when I attempt to open the test files as he has done in the guide, it never works. in fact I am configured the exact same as Andy, i have cfm installed locally and the directories setup the exact same as instructed. when i go to use the cfunit module in cfeclipse all i see next to the runs: is runs: ---/--- and nothing displayed in the second box below.
Any help with this issue would be greatly appreciated and thank you for your time.
Same here. It works when browsing locally to the example test that comes with cfunit, but exactly following this guid doesn't do anything within eclipse.
Hopefully the author can take the time to look into this since I'm not able to get it working.
To the people above getting the --/-- problem: For me that was related to what Dipak posted above about the screenshot being incorrect. The dots in the screenshot should be slashes. Changing this made the example work for me. Hope it works for your too.
I just now installed CFUnit, and am running into the same --/-- issue. I have altered the path to use / in CFEclipse, but it's still not working for me. Anyone have anything else for me to try?