[darcs-users] [patch378] Organise unit tests into per-module groups. (and 1 more)

Eric Kow bugs at darcs.net
Fri Sep 3 14:46:28 UTC 2010


Eric Kow <kowey at darcs.net> added the comment:

5 patches for repository http://darcs.net:

Amends and replaces past version of this bundle.

Wed Sep  1 14:45:49 BST 2010  Eric Kow <kowey at darcs.net>
  * Tidy up test harness warnings.

Fri Sep  3 15:13:29 BST 2010  Eric Kow <kowey at darcs.net>
  * Reorganise unit tests: avoid parallel test hierarchy.
  
  Each module to export its own testSuite function and the main driver to
  just import them all. In nested hierarchies, parent packages should
  import, group and report the testSuites for their subPackages.
  
  As for avoiding the parallel hierarchy, this should reduce the
  maintenance burden of building a test suite, and also provide a way to
  testing non-exported functions.  We make an exception for Darcs.Patch,
  where tests require a lot of extra infrastructure and also are extremely
  verbose in themselves.

Fri Sep  3 15:17:39 BST 2010  Eric Kow <kowey at darcs.net>
  * Avoid needless incomplete matching in Darcs.Patch.Info test.

Fri Sep  3 15:30:23 BST 2010  Eric Kow <kowey at darcs.net>
  * Consolidate Darcs.Test into test module.

Fri Sep  3 15:46:20 BST 2010  Eric Kow <kowey at darcs.net>
  * Correct oversight in test reorganisation.


___________________________________________________________
This email has been scanned by MessageLabs' Email Security
System on behalf of the University of Brighton.
For more information see http://www.brighton.ac.uk/is/spam/
___________________________________________________________

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch378>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tidy-up-test-harness-warnings_.dpatch
Type: text/x-darcs-patch
Size: 147015 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100903/d846950e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100903/d846950e/attachment-0001.obj>


More information about the darcs-users mailing list