I have been hacking away on some scripts to interrogate some hardware via Net::Telnet and issue commands depending on the results that come back.
I have been including test:more testing, but am wondering how people would recommend how I might code the subroutines and or tests so that I can avoid actually talking to the hardware.
I am curious as to how the more experienced players get around using testing when the items being tested may not be allowed as the hardware (in my case) may be in use. This is also a ongoing thought about how do you test real things without causing problems.
Thoughts?
Kia Kaha, Kia Toa, Kia Manawanui!
Be Strong, Be Brave, Be perservering!