From: Chris Wanstrath Date: 2007-07-17T12:24:57+09:00 Subject: Re: memcache wrapper testing On 7/16/07, David Weldon wrote: > I have a wrapper class for memcache-client (adds a little extra > functionality for something specific I need). Does anyone have any good > ideas for how to do unit testing on it? Use mocks. Check the cache_fu tests, which run against mocks and a real memcached server. http://require.errtheblog.com/plugins/browser/cache_fu -- Chris Wanstrath http://errfree.com // http://errtheblog.com