04 May 2010 07:22:59 UTC
- Distribution: Acme-Test-42
- Module version: 0.1
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (539 / 0 / 0)
- KwaliteeBus factor: 0
- 85.71% Coverage
- License: unknown
- Download (1.57KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Acme::Test::42 - Test the answer to ultimate question
use Acme::Test::42 qw(no_plan); # . . . ok($answer, 'Answer to the question'); not_ok($answer / 2, 'Not an answer');
Acme::Test::42 provides a mechanism for probing if the answer is correct.
Acme::Test::42 exports two subroutines,
not_ok, each of them expects two arguments: the answer and optional comment.
The module is based on standard Test::Builder and follows the TAP standard but unlike Test::Simple and Test::More does not expect true or false values and checks if the given value is an answer to the ultimate question of life, the Universe, and everything.
Perl people often use this answer in their talks (see http://www.slideshare.net/newsearch/slideshow?q=perl) and as a boolean value returned by Perl packages (see Acme::ReturnValue), which makes Acme::Test::42 so important.
Andrew Shitov, <firstname.lastname@example.org>
Acme::Test::42 module is a free software. You may redistribute and (or) modify it under the same terms as Perl whichever version it is.
Module Install Instructions
To install Acme::Test::42, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Acme::Test::42
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|