22 Jan
2010
22 Jan
'10
7:30 a.m.
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.