Tags:
create new tag
, view all tags
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

Topic revision: r5 - 2006-12-02 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.