[Haskell-cafe] TDD in Haskell

Ionut G. Stan ionut.g.stan at gmail.com
Tue May 25 07:36:01 EDT 2010


Hi,

I'm doing TDD in pretty much all of the languages that I know, and I 
want to introduce it early in my Haskell learning process. I wonder 
though, if there's some established process regarding TDD, not unit testing.

I've heard of QuickCheck and HUnit, but I've also read that QuickCheck 
is used mostly for testing pure code, while HUnit for impure code?

What framework lends itself better for writing tests before the actual 
production code? Can you point out to some resources regarding this?


Oh, and a small off-topic question? Is it considered a good practice to 
use implicit imports in Haskell? I'm trying to learn from existing 
packages, but all those "import all" statements drive me crazy.

Thanks,
-- 
Ionuț G. Stan  |  http://igstan.ro


More information about the Haskell-Cafe mailing list