|Version 2 (modified by coke, 7 years ago)|
All the example PIR/PASM code that appears in Pod comments through the app should be tested, as should all the code in the top level examples directory.
While not run by default, you can verify these with:
$ prove -v t/examples
To see how to markup POD so the examples are testable, see:
$ perldoc t/examples/pod.t
The goal should be to eventually have no _INVALID targets, and to have a small (tending to none) number of _TODO targets.
There shouldn't be any sample PIR that isn't testing (syntax changes, and we don't want to ship broken sample code.)