cfcUnit at BACFUG

Well, tonight I finally presented cfcUnit to BACFUG. I didn't have any slides prepared, so we just discussed some general concepts of unit testing and best practices. We went over a bit of code and I just created example test code as we went along to answer specific questions that people had.

People wanted to see how it worked, what it took to get started writing tests, and how it could be extended to provide more assertion functions. I think that the code-centric look at cfcUnit worked out rather well. In fact, we even found a bug in one of the error message display functions--one which I just fixed.

I also showed how you could use the framework without using MachII to run the tests in about 5 or 6 lines of code in a standard .cfm file. It was a good excercise and it pointed out that a non-MachII test runner needs to be included in the distribution. This will allow someone to see how it works without having to worry about or understand how MachII is working.

I'll probably do that this weekend and publish the updated version on right away.

cfcUnit Distribution Updated!

Because the installation processes for cfcUnit was more complicated than it had to be, I reorganized the distribution and overhauled the installation instructions. I'm hoping that this straightens out any confusion over how to get it all working. Go to http://www.cfcunit.org.

White Screen of Death

Apparently there are some problems with the installation instructions for cfcUnit. If you have any specific problems with the install, let me know. I'm working on resolving some issues that have come up in the last couple of days.

BlogCFC was created by Raymond Camden. This blog is running version 5.5.003.