Unit tests for the
RcsLite package
RcsLiteDotPm. The Perl script
tools/test/rcslisttest does a number of unit test for the
RcsLite package. Most are done by comparing the behaviour to that of
RCS (accessed via the
RcsWrapDotPm package), but some a self contained e.g. I have no revisions, I add one, I should have one revision.
--
JohnTalintyre - 01 Mar 2004
Looks good, John.
One observation; correct me if I'm wrong, but it looks as though the test fixture is cumulative i.e. you don't tear it down between tests. Isn't that a bit risky?
Oh, and it might be an idea to write the test as a package, so it can be invoked from a test suite runner?
(Overall I think you would gain significantly from using Test::Unit. You're 1/4 of the way there to duplicating it in
TestUtil.pm already)
--
CrawfordCurrie - 01 Mar 2004
Removed from CategoryTesting because it is obsolete.
--
CrawfordCurrie - 02 Dec 2006