[Haskell-beginners] unit tests

Thomas Davie tom.davie at gmail.com
Sun Aug 9 19:52:49 EDT 2009


On 9 Aug 2009, at 22:52, Michael Mossey wrote:

> As I write Haskell code I find myself needing to write test code. If  
> this
> test code were organized and documented, I could probably call it a  
> set of
> unit tests. I'm trying to find some convention for naming functions  
> and
> variables used in unit testing, deciding on location (in same module  
> or a
> second module? same directory or sub-directory?), etc. Are there any
> Haskell community conventions?

Take a look at both QuickCheck and HUnit.

Bob


More information about the Beginners mailing list