[Israel.pm] Testing problem
Thomas.Maier at monosphere.com
Sun Jan 11 09:23:40 PST 2004
> In the bottom line the only reliable way to test properly is to
> in real life scenarios as much as possible.
Correct. Just consider the follow scenarios:
1. test target (your real life scenario) still does not exists.
2. test target is full of bugs.
3. test target works extremely slow.
I'm not sure you would like to test your code on real life scenario
in those cases.
Mocking can be really helpful is some cases. Mock test can be also
combine with real test, just to avoid those problems.
More information about the Perl