[Haskell-cafe] ANNOUNCE: Chell: A quiet test runner (low-output alternative to test-framework)

John Millikin jmillikin at gmail.com
Thu Aug 11 17:21:52 CEST 2011

On Thu, Aug 11, 2011 at 08:17, Greg Weber <greg at gregweber.info> wrote:
> I am confused also, as to both what output you don't like that motivated
> chell and what exactly hspec silences :) Suffice to say I am able to get a
> small relevant error message on failure with hspec. I am adding the hspec
> maintainer to this e-mail- he can answer any of your questions.

The output I didn't like wasn't coming from HUnit, it was coming from
the test aggregator I used (test-framework). It prints one line per
test case run, whether it passed or failed.

That means every time I ran my test suite, it would print *thousands*
of lines to the terminal. Any failure immediately scrolled up and out
of sight, so I'd have to either Ctrl-C and hunt it down, or wait for
the final report when all the tests had finished running.

Chell does the same thing as test-framework (aggregates tests into
suites, runs them, reports results), but does so quietly. It only
reports failed and aborted tests.

More information about the Haskell-Cafe mailing list