QA for a script that relies heavily on net/ftp

C

Carl Lerche

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,438
Messages
2,571,699
Members
48,796
Latest member
Greg L.
Top