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

2011-08-11 Thread trystan . s
ption: > assert = assertBool "" Hspec uses HUnit TestCases and assertions but also supports QuickCheck properties almost exactly the same way Chell does. The hspec project homepage (https://github.com/trystan/hspec) has more examples, including the specs for hspec itself. Trystan Spa

Re: [Haskell-cafe] silently-0.0.1 (prevent IO actions from writing to stdout)

2011-03-07 Thread trystan . s
I was not aware of that! Very cool. Trystan Spangler - Original Message - From: "Henning Thielemann" To: "trystan s" Cc: "Felipe Almeida Lessa" , haskell-cafe@haskell.org Sent: Monday, March 7, 2011 9:56:16 AM Subject: Re: silently-0.0.1 (p

Re: [Haskell-cafe] [Haskell] ANNOUNCE: silently-0.0.1 (prevent IO actions from writing to stdout)

2011-03-07 Thread trystan . s
Thanks for the feedback! I'll definitely update the documentation. I agree that temp files are a weird way to go about it but they're the least surprising and dangerous way I could think of handling it. Unix has /dev/null and Windows has a NUL device that works the same way so I could use