in reply to Setting up tests for cat-type filter programs

There are many ways to do this. I'm wondering what nice idioms people have come up with for this. Nice properties of a test harness would be that it keeps the input and expected output data (which can be fake, usually) in a nicely plain text, easy to read and easy to edit format.

A bit late in the day - but if you've not found it already Test::Chunks handles this rather nicely.

  • Comment on Re: Setting up tests for cat-type filter programs