Test::Class provides a simple way of creating classes and objects to test your Perl code in an xUnit style. Built using Test::Builder, it was designed to work with other Test::Builder-based modules. You can easily package your tests as classes/modules rather than *.t scripts. This simplifies reuse, documentation, and distribution, encourages refactoring, and allows tests to be extended by inheritance.
CouchUnit is a JUnit extension that helps administer tests run against CouchDB. It mimics the syntax and feel of DBUnit by helping developers write tests that load XML style datasets to place databases in known states between integration tests. A number of standard operations are used to store and remove CouchDB documents. Any number of documents may be declared within a single CouchUnit dataset.