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.
