Perl: the Markov chain saw | |
PerlMonks |
Re^3: Testing with non-trivial inputby dws (Chancellor) |
on Oct 12, 2005 at 18:11 UTC ( [id://499625]=note: print w/replies, xml ) | Need Help?? |
wouldn't I have to worry about whitespace issues when defining the expected XML output? Yes, but you only have to worry about it once. In fact, it's good to get a test that fails based on whitespace, since examining the output will give you confidence that the test (once the whitespace is corrected) is testing what you expect.
In Section
Seekers of Perl Wisdom
|
|