The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.


Test::Unit - the PerlUnit testing framework


This package provides only the project version number, copyright texts, and a framework overview in POD format.


This framework is intended to support unit testing in an object-oriented development paradigm (with support for inheritance of tests etc.) and is derived from the JUnit testing framework for Java by Kent Beck and Erich Gamma. To start learning how to use this framework, see Test::Unit::TestCase and Test::Unit::TestSuite. (There will also eventually be a tutorial in Test::Unit::Tutorial.

However Test::Unit::Procedural is the procedural style interface to a sophisticated unit testing framework for Perl that . Test::Unit is intended to provide a simpler interface to the framework that is more suitable for use in a scripting style environment. Therefore, Test::Unit does not provide much support for an object-oriented approach to unit testing.


Copyright (c) 2000-2002, 2005 the PerlUnit Development Team (see the AUTHORS file included in this distribution).

All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

That is, under the terms of either of:

  • The GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version.

    The text of version 2 is included in the PerlUnit distribution package as COPYING.GPL-2.

  • The "Artistic License" which comes with Perl.

    The text of this is included in the PerlUnit distribution package as COPYING.Artistic.



The Perl Unit development team are humans. In part we develop stuff because it scratches our collective itch but we'd also really like to know if it scratches yours.

Please subscribe to the perlunit-users mailing list at and let us know what you love and hate about PerlUnit and what else you want to do with it.