| Test-Unit documentation | Contained in the Test-Unit distribution. |
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 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 http://lists.sourceforge.net/lists/listinfo/perlunit-users and let us know what you love and hate about PerlUnit and what else you want to do with it.
| Test-Unit documentation | Contained in the Test-Unit distribution. |
package Test::Unit; use strict; use vars qw($VERSION); # NOTE: this version number has to be kept in sync with the # number in the distribution file name (the distribution file # is the tarball for CPAN release) because the CPAN module # decides to fetch the tarball by looking at the version of # this module if you say "install Test::Unit" in the CPAN # shell. "make tardist" should do this automatically. BEGIN { $VERSION = '0.25'; } # Constants for notices displayed to the user: use constant COPYRIGHT_SHORT => <<EOF; Test::Unit Version $Test::Unit::VERSION (c) 2000-2002, 2005 Christian Lemburg, Brian Ewins, et. al. EOF use constant COPYRIGHT_NOTICE => <<'END_COPYRIGHT_NOTICE'; This is PerlUnit version $Test::Unit::VERSION. Copyright (C) 2000-2002, 2005 Christian Lemburg, Brian Ewins, et. al. PerlUnit is a Unit Testing framework based on JUnit. See http://c2.com/cgi/wiki?TestingFrameworks PerlUnit is free software, redistributable under the same terms as Perl. END_COPYRIGHT_NOTICE 1; __END__