Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it? (Kernighan and Plauger 1978)

Learning Objectives

  • Contrast black box and white box testing
  • Calculate cyclomatic complexity and create test cases for each basis path
  • Organize tests in order of coverage
  • List strategies for debugging

How to Complete this Lesson

Complete the following learning activities: (2–2.25 hours total)

  1. Read the following in Software Engineering:
    • Chapter 8: Software testing (60–75 minutes)
      • Development testing
  2. Attend the class meeting (60 minutes)
    • Complete the handout (after class if necessary)

Due

As a reminder, the following is due this lesson:

Resources

Videos