Name : perl-Test-Inline
| |
Version : 0.16
| Vendor : Contribs_org < http://contribs_org>
|
Release : 1.el6.sme
| Date : 2013-01-24 20:34:41
|
Group : Applications/CPAN
| Source RPM : perl-Test-Inline-0.16-1.el6.sme.src.rpm
|
Size : 0.05 MB
| |
Packager : Contribs_org < http://contribs_org>
| |
Summary : Test-Inline - Inlining your tests next to the code being tested.
|
Description :
B< LOOK AT Test::Inline::Tutorial FIRST!>
Embedding tests allows tests to be placed near the code its testing. This is a nice supplement to the traditional .t files. It\'s like XUnit, Perl-style.
Test::Tutorial is just documentation. To actually get anything done you use pod2test. Read the Test::Inline::Tutoral, really.
A test is denoted using either \"=for testing\" or a \"=begin/end testing\" block.
=item B< is_pirate>
AATTpirates = is_pirate(AATTarrrgs);
Go through AATTarrrgs and return a list of pirates.
=begin testing
my AATTp = is_pirate(\'Blargbeard\', \'Alfonse\', \'Capt. Hampton\', \'Wesley\'); ok(AATTp == 2);
=end testing
|
RPM found in directory: /vol/rzm1/linux-ibiblio.old/distributions/smeserver/releases/9.2/smeos/i386/Packages |