[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

QA for a script that relies heavily on net/ftp

Carl Lerche

9/12/2006 4:48:00 AM

Hello,

I wrote a script that should manage regular backups of a number of
things and ftp the backups to a remote site using net/ftp. How can I
go about testing this really? I'm not quite sure how I can use Unit
Tests without access to a mock object, but I don't see one. Should I
develop a mock object to write unit tests for my script? What other
methods might be suggested for this kind of situation?

Thanks,
-carl