Embedding tests allows tests to be placed near the code it's testing. This is a nice supplement to the traditional .t files. It's like XUnit, only better and Perl-style.

WWW: https://metacpan.org/pod/Test::Inline
