Test::More
Test::More is a unit testing module for Perl.[src] Created and maintained by Michael G Schwern with help from Barrie Slaymaker, Tony Bowden, chromatic, Fergal Daly and perl-qa.[src] Test::More is a widely used Perl testing module.[src] As of 2010, approximately 80% of all CPAN distributions made use of it.[src]
Test::More is a unit testing module for Perl.[src] Created and maintained by Michael G Schwern with help from Barrie Slaymaker, Tony Bowden, chromatic, Fergal Daly and perl-qa.[src] Test::More is a widely used Perl testing module.[src] As of 2010, approximately 80% of all CPAN distributions made use of it.[src] ==History== Introduced in 2001 to replace Test.pm, Test::More contributed to changes in testing practices in Perl and was followed by the development of additional testing modules and broader adoption of test-driven practices within the community.[src] In 2014, Michael Schwern transferred ownership of Test::More and related modules to Chad 'Exodist' Granum.[src] On May 10, 2016, Exodist released version 1.302015, which included a complete refactor and partial rewrite of the internals.[src] The new version included major API updates and additional features.[src] Efforts were made to preserve backwards compatibility for third-party tools.[src] ==Functionality== Test::More is not a complete testing framework but can be used with other testing libraries via a shared Test::Builder object.[src] As a result, Test::More provides the baseline testing functions, leaving other libraries to implement more specific functionality.[src] This avoids centralizing development in a single module and supports the use of specialized testing functions.[src] Test programs written with Test::More output their results as TAP, which can then either be interpreted by a human or, more usually, run through a TAP parser such as Test::Harness.[src] It is this separation between test program and test result interpreter via a common protocol that has enabled the development of multiple testing modules that can be used together.[src] Additionally, the TAP output can be stored and reinterpreted later, providing a historical record of test results.[src] Among its features are detailed error messages, functions to test regular expressions, functions to test objects, and functions to test complex data structures.[src] It can be used to compare values, such as a computed value to an expected value, or that a value is within an expected range.[src] The number of tests to be executed is listed in the test script.[src] Tests that are known to fail under specific conditions or environments can be skipped.[src] This may occur if a system on which the test is executed lacks the capability to execute the tested function, or if the test is written in advance of the code.[src] The module intercepts standard output from the Perl script to execute the tests.[src] ==References== ==External links== Test::More documentation Test::More tutorial[src]
26 sentences · 26 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Test::More." encyclopegia.org, 2026, https://encyclopegia.org/wiki/test-more. Accessed 25 November 2026.
Chicago
"Test::More." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/test-more.
APA
encyclopegia.org. (2026). Test::More. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/test-more
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON