http://qs321.pair.com?node_id=499625


in reply to Re^2: Testing with non-trivial input
in thread Testing with non-trivial input

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.