perldoc > Test::Unit

๐Ÿ“– NAME

Test::Unit - the PerlUnit testing framework

๐Ÿš€ Quick Reference

Use CaseCommandDescription
๐Ÿงช Create a test case classuse Test::Unit::TestCase;Define test methods in an object-oriented class
๐Ÿ“ฆ Combine test casesuse Test::Unit::TestSuite;Group multiple test cases into a suite
โšก Quick procedural testinguse Test::Unit::Procedural;Simpler, scripting-style interface (no OOP burden)

๐Ÿ“‹ SYNOPSIS

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

๐Ÿ“ DESCRIPTION

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. 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

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:

๐Ÿ”— SEE ALSO

๐Ÿ’ฌ FEEDBACK

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
๐Ÿ“– NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“ DESCRIPTION ยฉ๏ธ COPYRIGHT ๐Ÿ”— SEE ALSO ๐Ÿ’ฌ FEEDBACK

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-15 21:17 @216.73.216.208
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!