Not really a Snap question but still relevant to good things in web
development.
As my web application grew larger I pondered over adding test harness
to the project to ensure nothing breaks as I hack on. I wonder what
should I use for expect-like testing over HTTP. The app I'm working on
is serving/accepting bare JSON so what I need is to perform requests
to server and check if response headers and body match the expected
data.
httest tool is quite close to what is needed, but boy it's awkward and
documentation is so poor that I'd better use hand-written shell
scripts wrapped around curl. Perhaps someone can point out a better
tool for that, otherwise it sounds like an idea for a new Haskell
project.