This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perlhack: Note existence of t/lib/warnings
[perl5.git]
/
pod
/
perlhack.pod
diff --git
a/pod/perlhack.pod
b/pod/perlhack.pod
index
34da25f
..
cce574d
100644
(file)
--- a/
pod/perlhack.pod
+++ b/
pod/perlhack.pod
@@
-1762,6
+1762,10
@@
so there are some snags (and it would be wonderful for you to brush
them out), but it basically works that way. Everything else lives in
F<t/>.
them out), but it basically works that way. Everything else lives in
F<t/>.
+Testing of warning messages is often separately done by using expect scripts in
+F<t/lib/warnings>. This is because much of the setup for them is already done
+for you.
+
If you add a new test directory under F<t/>, it is imperative that you
add that directory to F<t/HARNESS> and F<t/TEST>.
If you add a new test directory under F<t/>, it is imperative that you
add that directory to F<t/HARNESS> and F<t/TEST>.