Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Regression testing with dependenciesby ferrency (Deacon) |
on Sep 04, 2003 at 15:39 UTC ( [id://288901]=note: print w/replies, xml ) | Need Help?? |
Skipping the tests completely is a commonly used technique here as well. Unfortunately, that has the unwanted side effect of leaving a lot of code without tests :) (it's the problem I'm trying to solve) When you're writing a module whose entire existence is intended to connect to some third party's server using a proprietary networking protocol, you can't very well skip every test, because then you're not testing anything at all. Writing a fake server or dummy module to connect to also doesn't help, because then you're testing against how you think the protocol/server works, not how it actually works. You're making the same assumptions you made when you wrote the module you're testing. It's roughly equivalent to doing this:
As you may have guessed, No, I haven't found an adequate answer to my concerns yet :) Alan
In Section
Meditations
|
|