| Start |
|---|
| Perl Unit Testing Example The following is a simple example Perl test script, that gives some structure to allow for testing of other methods in the class/package under test. The script produces standard output with simple "ok" / "not ok" text, which is called TAP (Test Anything Protocol). Typically the prove (opens new window) command runs the script(s) and summarises the test results. Best Practice A test script should only test one package/class, but there many scripts may be used to test a package/class. Further Reading
|
Read Article
https://develop.horje.com/learn/1434/reference