Basic Testing Framework in Perl

  1. Things we are going to test
  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: Write tests for fibo
  16. Exercise: Write a test to test the Anagram checker
  17. Exercise: Enlarge the test
  18. Solution: Write tests for fibo
  19. Solution: Write a test to test the Anagram checker
  20. Solution: Enlarge our test suite
  21. Refactor larger test suite
  22. Forget about your "plan", use "no_plan"
  23. use BEGIN block with Test::Simple
  24. Put the test cases in an external file
  25. Large test suite
  26. Harness
  27. Harness on success
  28. Harness on too few tests
  29. prove
  30. Packaging as people do for CPAN
  31. Makefile.PL for ExtUtils::MakeMaker
  32. Makefile.PL for Module::Install
  33. Build.PL
  34. Directories under t and prove
  35. Simple CPAN-like module
  36. Commands for CPAN release
  37. Exercise: Add tests
  38. Test::Simple