Skip to content

Programming Quote by Robert C. Martin

“Dijkstra once said, “Testing shows the presence, not the absence, of bugs.” In other words, a program can be proven incorrect by a test, but it cannot be proven correct. All that tests can do, after sufficient testing effort, is allow us to deem a program to be correct enough for our purposes.” quote by Robert C. Martin
Download Open image
““Dijkstra once said, “Testing shows the presence, not the absence, of bugs.” In other words, a program can be proven incorrect by a test, but it cannot be proven correct. All that tests can do, after sufficient testing effort, is allow us to deem a program to be correct enough for our purposes.””

Robert C. Martin

About This Quote

Source Book: Clean Code, 2008

Testing can show bugs exist but cannot prove a program is correct; it only gives confidence.

In simple terms: Tests reveal flaws, not perfection.

Key Takeaway

Use testing to gain confidence, not certainty.

Themes

software testing quality assurance program correctness limitations confidence

Mood

analytical practical

Type

technical philosophical

When to use this quote

  • software development
  • continuous integration
  • code review
  • deployment

Key Concepts

bug detection test coverage risk assessment

Questions to Reflect On

  • How many tests are enough?
  • What other methods complement testing?
A Different Perspective

Testing cannot guarantee absence of bugs.

4.0 out of 5 (3 ratings)

More by Robert C. Martin

Explore all 34 Robert C. Martin quotes

More Programming quotes

Browse all 6,477 Programming quotes