Replacing stuff like [this](https://github.com/snapframework/snap/blob/master/test/suite/TestSuite.hs#L113) with a file. If there is no file, everything is correct. Write the file. If there is a file, compare against current result.