Unit Testing with OnMissingMethod()

I read a really great article yesterday written by Brian Kotek on using the onMissingMethod() in Coldfusion 8 to create mock objects to help with unit testing.

Brian has developed, and uploaded to riaforge, a mock object generator and is is calling coldMock. You can read his article here.

Comments
Brian Kotek's Gravatar It's actually not at RIAForge yet, but it will be shortly. I've added type checking to the arguments and return types of the mocked methods. I'll probably kick it around a bit more, clean up the code, and then upload it in the next day or two. Thanks for the interest!
# Posted By Brian Kotek | 8/29/07 11:30 AM