Search code examples
coldfusionopen-sourcerailo

Which open source CFML frameworks have substantial automated testing for their core features?


I'm curious if there are any free open source projects written with ColdFusion (CFML) that have substantial unit testing or other forms of automated testing already done for the core features?

I'd like to consider basing some of my open source project on existing code if the implementation is following more best practices and has automated tests.

For example, a library for handling form / validation. A library for string manipulations. Database handling, etc.

Edit: MXUnit is fine for unit testing framework, but I'm asking more about non-testing frameworks that have implemented unit tests to verify their features.


Solution

  • If you're looking to get involved in an open source project that is pro-unit testing and involves form / validation then have a look at ValidateThis - http://www.validatethis.org/

    When I've added to the framework in the past the guys supporting it have asked for tests to be included where at all possible so there should be plenty there to get you started. I'd advise asking on the VT forums for more information and on how you can support the project.

    If you're looking for a unit testing framework for your own projects then I'd recommend MXUnit (http://www.mxunit.org/) which is certainty the most popular U.T. tool in the ColdFusion community at the moment.

    In terms of application frameworks that have built in testing features I can only comment on one and that's ColdBox (http://www.coldbox.org/) which I know is built upon MXUnit but also includes a pile of other features including their own mocking tool - Mockbox (http://wiki.coldbox.org/wiki/MockBox.cfm)