| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Having to count tests is annoying for maintainers.
Also, manually updating count tests is problematic when multiple people
are working on the same code; it causes merge conflicts and recounts.
done_testing() is available since Test::More 0.88 which was released in
2009.
This commit changes all tests under lib/ that use Test::More and were
planning the number of tests.
Michiel Beijen is now a Perl author
|
|
|
|
|
|
|
|
|
| |
This change fixes enough code that it's possible to run make test_prep when perl is compiled with -Dusedefaultstrict.
There are 2 caveats to this:
- Does not address XSLoader/DynaLoader already submitted in another PR.
- Does not address cpan/Pod-Usage or cpan/Text-Tabs which continue to be outstanding upstream.
|
|
|
|
|
|
|
|
| |
Symbol::qualify_to_ref() has not previously been exercised in this test
file. Do so. Also, exercise certain usages of qualify() that are
documented in SYNOPSIS but were also previously unexercised.
Bring test file into compliance with stricture.
|
| |
|
| |
|
|
|
| |
p4raw-id: //depot/perl@20922
|
|
|
|
|
| |
Message-ID: <ZMse8gzkg6oQ092yn@efn.org>
p4raw-id: //depot/perl@14878
|
|
|
|
|
| |
Message-ID: <20011105142624.C31977@rafael>
p4raw-id: //depot/perl@12850
|
|
No doubt I made some mistakes like missed some files or
misnamed some files. The naming rules were more or less:
(1) if the module is from CPAN, follows its ways, be it
t/*.t or test.pl.
(2) otherwise if there are multiple tests for a module
put them in a t/
(3) otherwise if there's only one test put it in Module.t
(4) helper files go to module/ (locale, strict, warnings)
(5) use longer filenames now that we can (but e.g. the
compat-0.6.t and the Text::Balanced test files still
were renamed to be more civil against the 8.3 people)
installperl was updated appropriately not to install the
*.t files or the help files from under lib.
TODO: some helper files still remain under t/ that could
follow their 'masters'. UPDATE: On second thoughts, why
should they. They can continue to live under t/lib, and
in fact the locale/strict/warnings helpers that were moved
could be moved back. This way the amount of non-installable
stuff under lib/ stays smaller.
p4raw-id: //depot/perl@10676
|