function. Is there a robust way of obtaining that
parameter so that the test is portable across machines (I want to make that
test a part of the testsuite)?
Janek
- Oryginalna wiadomość -
Od: "Ian Lynagh"
Do: "Jan Stolarek"
DW: "ghc-devs"
Wysłane: środa, 31 l
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
> m
If you can make tests for some particular part of GHC, go right ahead. I don't
really know how to test the whole of GHC using Quickcheck
Simon
| -Original Message-
| From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Jan
Stolarek
| Sent: 30 July 2013 16:28
| To: ghc-
.
Is there a workaround for this?
Janek
- Oryginalna wiadomość -
Od: "Ian Lynagh"
Do: "Jan Stolarek"
DW: "ghc-devs"
Wysłane: środa, 31 lipiec 2013 13:31:44
Temat: Re: Unit-testing of GHC code
On Tue, Jul 30, 2013 at 05:28:12PM +0200, Jan Stolarek wrote:
&g
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
> Sma