How to write test cases for rails scripts!.
and if we are expecting user input in command line
How to write test cases for rails scripts!.
and if we are expecting user input in command line
http://guides.rubyonrails.org/testing.html This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
þ Please print this if absolutely necessary; Save trees, Save Earth !!
Thanks for the link, I already have gone through the guide but could not find any relevant information about writing test cases for script/runner scripts having user interaction!!!
check out Aruba
Or check out ‘expects’ unix construct I think there is a gem. Expects output and then inputs data