Major milestone on the road to Snap 1.0: we now have 100% test coverage for io-streams, snap-core, and snap-server.
In the process of getting to 100%, I found quite a few small bugs in dusty corners of what was already a very well-tested codebase, and many opportunities to simplify or remove branches when I found that a certain function was difficult to cover completely. The old adage is still true: if it isn't covered, it isn't tested!
My intention is to throw down the gauntlet to people running other projects: yes, you should be building a test coverage report as part of your continuous integration runs (and you are running a buildbot, right? Now that https://travis-ci.org/
is around you have no excuse), and yes, the number on this report should be 100% or as close to it as possible. #haskell #snapframework