Skip to content

Dijkstra once said, “Testing shows the presence, not the…

“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

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

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.

★ ★ ★ ★ ★ No ratings yet

More by Robert C. Martin

Explore all 34 Robert C. Martin quotes

More Programming quotes

Browse all 6,477 Programming quotes