|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^2: When Test Suites Attackby Ovid (Cardinal) |
| on Oct 28, 2005 at 18:32 UTC ( [id://503794]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm taking a roughly similar strategy now. Previously I had many of these:
By generating $expected with a different algorithm (to ensure that I'm not just reaching into buggy code), I had to constantly maintain two different sets of code which did the same thing. It was very painful. Now I'm doing this:
And to verify that it's correct, I'm adding more high-level integration testing. It's an annoying trade-off, but like what you're suggesting, it's a reasonable one. Cheers, New address of my CGI Course.
In Section
Meditations
|
|
||||||||||||||||||||||||