I'm thinking how I can duplicate IO / network classes, for example, I have a class that has FTP Operation or a class that writes in a file How can I use mockery and unit testing junk in these classes?
I am a C # / NHibernate / Castle ActiveRecord / Rhino Mox Developer You can only duplicate the interface, intangible class (virtual methods in general) using Rhino Mox.
You can not do unit test codes, which need to be added to isolation from an FTP server. This is no longer a unit test, it's an integration test and joke can not help you.
Comments
Post a Comment