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.75–3 hours total)

  1. Read the following in Software Engineering:
    • Chapter 8: Software testing (60–75 minutes)
      • Development testing
  2. Watch the following videos about unit testing: (28 minutes total)
  3. Complete the handout (15 minutes)
  4. Participate in the synchronous session during the class meeting time (optional)
  5. Complete the quiz (5–8 minutes)
  6. Complete the project sprint (60 minutes)

Due

As a reminder, the following are due this lesson:

Resources

Further Reading

Software Engineering