[darcs-users] darcs patch: Add some comments in Darcs.Patch.QuickCheck (and 4 more)
Reinier Lamers
tux_rocker at reinier.de
Mon Jun 29 20:25:03 UTC 2009
Hi all,
These patches mark the end of my efforts to improve the unit tests. We sadly
do not have a unit test suite that runs in seconds yet, but it does:
* have a better user interface
* run faster, especially when run in parallel on a multicore
* allow you to reproduce failures
* pass
At this point I think it would be a good idea to run the unit tests on more
occasions, like add them to buildbot configuration script.
Also, you can (must! :-)) add more unit tests. If you want to write HUnit- or
QuickCheck-based unit tests for a module, add a module with its unit tests
under Darcs.Test. Include the unit tests in the big list in src/unit.lhs and
you're done.
After a vacation, I'll see if I can work on the XML and text encoding
issues. But starting July 27th, I have a job, so possibly I'll have much
less time for darcs.
Regards,
Reinier
Sun Jun 28 15:49:08 CEST 2009 Reinier Lamers <tux_rocker at reinier.de>
* Add some comments in Darcs.Patch.QuickCheck
Sun Jun 28 15:49:52 CEST 2009 Reinier Lamers <tux_rocker at reinier.de>
* Bound size of trees generated in Darcs.Patch.QuickCheck
This keeps the 'Checking that tree flattenings are consistent' test from
occasionally taking hours and hours to complete. The maximum depth of 5 was
found by experiment.
Mon Jun 29 21:29:34 CEST 2009 Reinier Lamers <tux_rocker at reinier.de>
* Move unit tests to Darcs.Test module space
Mon Jun 29 21:31:29 CEST 2009 Reinier Lamers <tux_rocker at reinier.de>
* Move email unit tests to Darcs.Test module space
Mon Jun 29 21:32:08 CEST 2009 Reinier Lamers <tux_rocker at reinier.de>
* Teach cabal about new Darcs.Test modules
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 110294 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090629/9cd594bc/attachment-0001.bin>
More information about the darcs-users
mailing list