rcaputo / snerp-vortex

A subversion repository exporter.
15 stars 3 forks source link

add test cases #2

Open rcaputo opened 14 years ago

rcaputo commented 14 years ago

Testing against a huge repository is a slow proposition, even at a rate of 3 to 4 revisions per second.

Create a test runner that accepts short subversion dumps, replays them with a variety of back ends, and verifies that (a) the program didn't blow up; (b) the results match expectations.

Creating a test might go something like this:

The test suite might:

rcaputo commented 14 years ago

Started collecting small test dumps in t/dump. Having a directory lets people send pull requests with their own test cases.