diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2012-01-22 09:54:30 -0500 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2012-01-22 10:44:50 -0500 |
commit | 88b08b5835f4ef2bae3218fe0fe808dc9151f424 (patch) | |
tree | ec3c331d3cb118ea4cd5c46900cf7704e0710fd1 /t/test2.mdwn | |
parent | 1ea4949257c52b799c37888d05c52acf20663229 (diff) | |
download | ikiwiki-88b08b5835f4ef2bae3218fe0fe808dc9151f424.tar ikiwiki-88b08b5835f4ef2bae3218fe0fe808dc9151f424.tar.gz |
Ape xUnit more closely to remove ordering constraints on test subs:
* Add setup and teardown methods, called before and after every test sub.
* In setup, make a fresh repo; in teardown, throw it out.
* Extract runtests method and define default test methods at top.
* Move reflection routines near the xUnit-style subs they support.
Adapt existing test subs to run independently:
* In test_manual_add_and_commit(), assume a fresh repo.
While here, plan a bit better:
* Check for all modules used by cvs.pm.
* Check for program existence more generally.
* Check that we can rmdir after mkdir.
Diffstat (limited to 't/test2.mdwn')
0 files changed, 0 insertions, 0 deletions