|Version 3 (modified by coke, 5 years ago)|
All the example PIR and 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 code that isn't tested (syntax changes, and we don't want to ship any broken sample code)
We should also eventually be able to test code written in other compilers shipped with parrot, like NQP}.