
31 Jul
2013
31 Jul
'13
12:31 p.m.
On Tue, Jul 30, 2013 at 05:28:12PM +0200, Jan Stolarek wrote:
I spent whole day looking for a bug that lurks somewhere in my code, but I know I could find it in 2-3 hours if I only could write unit tests for my code. So the question is: how can I write HUnit and QuickCheck (and maybe SmallCheck) tests for GHC and possibly make them a part of testsuite?
It's better not to use HUnit/QuickCheck/SmallCheck, as then you can add them to the testsuite and they can be run by everyone, without needing the libraries to be installed. Thanks Ian -- Ian Lynagh, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/