# QA for a script that relies heavily on net/ftp

**URL:** <https://www.ruby-forum.com/t/qa-for-a-script-that-relies-heavily-on-net-ftp/68376>\
**Category:** Ruby\
**Created:** [September 12, 2006, 6:47am UTC](https://www.ruby-forum.com/t/qa-for-a-script-that-relies-heavily-on-net-ftp/68376 "2006-09-12T06:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phillyloco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@phillyloco](https://www.ruby-forum.com/u/phillyloco)\
**Post date:** [September 12, 2006, 6:47am UTC](https://www.ruby-forum.com/t/qa-for-a-script-that-relies-heavily-on-net-ftp/68376/1 "2006-09-12T06:47:58Z")

</div>

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
