NAME Test::Inline - Embed your tests in your code, next to what is being tested DESCRIPTION Embedding tests allows tests to be placed near the code being tested. This is a nice supplement to the traditional .t files. How does it work? "Test::Inline" lets you write small fragments of general or function-specific testing code, and insert it anywhere you want in your modules, inside a specific tagged POD segment, like the following. =begin testing # This code assumes we have a cpuinfo file ok( -f /proc/cpuinfo, 'Host has a standard /proc/cpuinfo file' ); =end testing =begin testing label # Test generation of the