Basic Testing Framework in Perl


  1. Welcome to 'Test Automation using Perl'
  2. Testing a simple Perl module
  3. Calculator test
  4. Test with expected results
  5. More test cases, more output
  6. Complex output
  7. ok, not ok
  8. Print only ok/not ok
  9. Refactor - Write the ok function
  10. Introducing Test::Simple
  11. Test::Simple when everything is ok
  12. Test::Simple - missing test
  13. Test::Simple - too many tests
  14. Add names to the tests
  15. Exercise: Enlarge the test
  16. Enlarge our test suite
  17. Refactor larger test suite
  18. Forget about your "plan", use "no_plan"
  19. use BEGIN block with Test::Simple
  20. Put the test cases in an external file
  21. Large test suite
  22. Harness
  23. Harness on success
  24. Harness on too few tests
  25. prove
  26. Packaging as people do for CPAN
  27. Makefile.PL for ExtUtils::MakeMaker
  28. Makefile.PL for Module::Install
  29. Build.PL
  30. Directories under t and prove
  31. Exercise: MyTools multiply
  32. Test::Simple