Re: [Haskell] ANNOUNCE: testrunner-0.9

2009/6/8 Reinier Lamers
I checked out testpack and that did not meet my requirements. I don't know if I considered test-framework. If I did, it may be that I was turned off by the fact that the 'home page' link on cabal just goes to a web presentation of the source tree on github.
Reinier, You are quite right that this is a weakness. I've been meaning to put a site together for a while, and your comment gave me the impetus to do it: http://batterseapower.github.com/test-framework/ That's much friendlier! All the best, Max

When I run Example.lhs for test-framework I get
[0]
[1]
in the test results, just as you show on your web page. If I run
Example.lhs under ghci rather than compiled, I find the [0] [1] mingled
with the test results in random ways. This leads me to believe that
whatever is printing out [0] [1] is running is a separate thread.
Does this [0] [1] have any meaning? If not, how do I get rid of it?
Thanks,
-Rod
On Mon, 8 Jun 2009 19:07:52 +0100
Max Bolingbroke
2009/6/8 Reinier Lamers
: I checked out testpack and that did not meet my requirements. I don't know if I considered test-framework. If I did, it may be that I was turned off by the fact that the 'home page' link on cabal just goes to a web presentation of the source tree on github.
Reinier,
You are quite right that this is a weakness. I've been meaning to put a site together for a while, and your comment gave me the impetus to do it:
http://batterseapower.github.com/test-framework/
That's much friendlier!
All the best, Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
The following line is added for your protection and will be used for analysis if this message is reported as spam:
(Raytheon Analysis: IP=128.36.229.215; e-from=haskell-cafe-bounces@haskell.org; from=batterseapower@hotmail.com; date=Jun 8, 2009 6:08:07 PM; subject=[Haskell-cafe] Re: [Haskell] ANNOUNCE: testrunner-0.9)

Hi,
Have a look at http://projects.haskell.org/testrunner/using-testrunner.html,
specifically the last paragraph.
Also, http://batterseapower.github.com/test-framework/ says results
are reported in deterministic order...
Cheers,
Thu
2009/6/11 Rodney Price
When I run Example.lhs for test-framework I get
[0] [1]
in the test results, just as you show on your web page. If I run Example.lhs under ghci rather than compiled, I find the [0] [1] mingled with the test results in random ways. This leads me to believe that whatever is printing out [0] [1] is running is a separate thread.
Does this [0] [1] have any meaning? If not, how do I get rid of it?
Thanks, -Rod
On Mon, 8 Jun 2009 19:07:52 +0100 Max Bolingbroke
wrote: 2009/6/8 Reinier Lamers
: I checked out testpack and that did not meet my requirements. I don't know if I considered test-framework. If I did, it may be that I was turned off by the fact that the 'home page' link on cabal just goes to a web presentation of the source tree on github.
Reinier,
You are quite right that this is a weakness. I've been meaning to put a site together for a while, and your comment gave me the impetus to do it:
http://batterseapower.github.com/test-framework/
That's much friendlier!
All the best, Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
The following line is added for your protection and will be used for analysis if this message is reported as spam:
(Raytheon Analysis: IP=128.36.229.215; e-from=haskell-cafe-bounces@haskell.org; from=batterseapower@hotmail.com; date=Jun 8, 2009 6:08:07 PM; subject=[Haskell-cafe] Re: [Haskell] ANNOUNCE: testrunner-0.9)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Hi Rodney,
The [0], [1] is a demonstration of failing arguments to QuickCheck.
Now, generally test-framework is very careful to avoid printing from
anything other than the main thread. That being said there is a known
problem with the QuickCheck-2 provider that will cause it to print the
failing arguments from the background thread. This is due to a
technical limitation with the library (it insists on writing to
stdout, so this is the best I could do without copying most of the
code).
QuickCheck-1 /shouldn't/ (to the best of my knowledge) have this
problem, though. Is that what you were using? If so I'll investigate
further.
Cheers,
Max
2009/6/10 Rodney Price
When I run Example.lhs for test-framework I get
[0] [1]
in the test results, just as you show on your web page. If I run Example.lhs under ghci rather than compiled, I find the [0] [1] mingled with the test results in random ways. This leads me to believe that whatever is printing out [0] [1] is running is a separate thread.
Does this [0] [1] have any meaning? If not, how do I get rid of it?
Thanks, -Rod
On Mon, 8 Jun 2009 19:07:52 +0100 Max Bolingbroke
wrote: 2009/6/8 Reinier Lamers
: I checked out testpack and that did not meet my requirements. I don't know if I considered test-framework. If I did, it may be that I was turned off by the fact that the 'home page' link on cabal just goes to a web presentation of the source tree on github.
Reinier,
You are quite right that this is a weakness. I've been meaning to put a site together for a while, and your comment gave me the impetus to do it:
http://batterseapower.github.com/test-framework/
That's much friendlier!
All the best, Max _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
The following line is added for your protection and will be used for analysis if this message is reported as spam:
(Raytheon Analysis: IP=128.36.229.215; e-from=haskell-cafe-bounces@haskell.org; from=batterseapower@hotmail.com; date=Jun 8, 2009 6:08:07 PM; subject=[Haskell-cafe] Re: [Haskell] ANNOUNCE: testrunner-0.9)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Max Bolingbroke
-
minh thu
-
Rodney Price