-devs
| Subject: Unit-testing of GHC code
|
| 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
On Wed, Jul 31, 2013 at 04:10:46PM +0200, Jan Stolarek wrote:
and so on (Hunit would only be a convenient interface here). The question is
how can I import a GHC module from within the testsuite and call its
functions to test it they behave propertly? An attempt to simply import the
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?