[Haskell-beginners] Re: testing and the culture of Haskell
Ahn, Ki Yung
kyagrd at gmail.com
Thu Jan 21 18:30:50 EST 2010
Michael Easter 쓴 글:
>
> Q: Note that TDD and "writing tests" are different things. With respect
> to "writing tests", I know
> that HUnit exists and that RWH has a chapter on quality assurance.
>
> Given that, I'd like to know: how widely is HUnit used? If you were to
> start a new Haskell project, would you
> include HUnit (a) immediately (b) eventually (c) maybe (d) another
> adjective ?
Don't forget about QuickCheck which allows us property based
automatically generated random testing. With QuickCheck, one can
practice much more powerful form of TDD, and this is a already a common
practice in Haskell development. QuickCheck works well with pure
functions, and HUnit is more for the IO related actions.
More information about the Beginners
mailing list