Sept. 14, 2015
1:31 p.m.
Hi, I need to write unit tests for code that fetches data on the web through ZnClient. Is there a way to temporarily replace all creations of ZnClient instances by instances of another class that will reply with fixed results without fetching on the web? I already wrote something like that for the Pharo launcher. I'm now looking for something that already exists outside so I don't have to extract this into a new library by myself. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." --Winston Churchill