I'm writing a small utility to perform some image resizing with options such as 'limitFileSize', 'maintainAspectRatio', etc. and I'd like to write unit tests for this (something I'm new to). How would any of you l33t unit testers go about this? i.e. How would you source the images for the unit test? Have demo files local to the test scripts? Create the test images using cfimage within the test script? Any other ideas?
TIA Dominic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336356 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm