---
title: "Meaning & Key Takeaway of: Dijkstra once said, “Testing shows the…"
description: "\"“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..."
image: "https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg"
---

#  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](https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg)   [Download](https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg) [Open image](https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg)

> ““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](https://sms4smile.com/quotes/author/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

[Correct Tests](https://sms4smile.com/quotes/about/correct-tests-4935846/) [Incorrect Test](https://sms4smile.com/quotes/about/incorrect-test-4935845/) [Programming](https://sms4smile.com/quotes/about/programming/) [Sufficient Testing](https://sms4smile.com/quotes/about/sufficient-testing-4935847/) [Technology](https://sms4smile.com/quotes/about/technology/) [Test Proven](https://sms4smile.com/quotes/about/test-proven-4935844/) [Testing](https://sms4smile.com/quotes/about/testing/)

## Related quotes

> [Building technical systems involves a lot of hard work and specialized knowledge: languages and protocols, coding and debugging, testing and refactoring.](https://sms4smile.com/quotes/jesse-james-garrett/building-technical-systems-involves-a-lot-of-hard-work-and/)

[Jesse James Garrett](https://sms4smile.com/quotes/author/jesse-james-garrett/)

> [If you can't test it, don't build it. If you don't test it, rip it out.](https://sms4smile.com/quotes/boris-beizer/if-you-can-t-test-it-don-t-build-it-if-you-don-t-test-it-rip-it-out/)

[Boris Beizer](https://sms4smile.com/quotes/author/boris-beizer/)

> [“Just as the Hare was overconfident in its speed, so the developers are overconfident in their ability to remain productive.”](https://sms4smile.com/quotes/robert-c-martin/just-as-the-hare-was-overconfident-in-its-speed-so-the-developers-are/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The rules of software are the same today as they were in 1946, when Alan Turing wrote the very first code that would execute…](https://sms4smile.com/quotes/robert-c-martin/the-rules-of-software-are-the-same-today-as-they-were-in-1946-when/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [What we have to do is to be forever curiously testing new opinions and courting new impressions.](https://sms4smile.com/quotes/walter-pater/what-we-have-to-do-is-to-be-forever-curiously-testing-new-opinions/)

[Walter Pater](https://sms4smile.com/quotes/author/walter-pater/)

> [“We're testing each other. Seeing how far we can take this before something snaps. Most likely my dick.”](https://sms4smile.com/quotes/jay-mclean/we-re-testing-each-other-seeing-how-far-we-can-take-this-before/)

[Jay McLean](https://sms4smile.com/quotes/author/jay-mclean/)

> [I mean, does anyone seriously think there are no drugs in Olympic sports just because they do some kind of testing? They are highly…](https://sms4smile.com/quotes/dorian-yates/i-mean-does-anyone-seriously-think-there-are-no-drugs-in-olympic/)

[Dorian Yates](https://sms4smile.com/quotes/author/dorian-yates/)

> [The Jihad is not just a way of testing yourself but also means using violence to spread Islam.](https://sms4smile.com/quotes/bassam-tibi/the-jihad-is-not-just-a-way-of-testing-yourself-but-also-means-using/)

[Bassam Tibi](https://sms4smile.com/quotes/author/bassam-tibi/)

> [His lips brushed against mine. Delicately at first, almost testing to see if this was real.](https://sms4smile.com/quotes/amanda-hocking/his-lips-brushed-against-mine-delicately-at-first-almost-testing-to/)

[Amanda Hocking](https://sms4smile.com/quotes/author/amanda-hocking/)

> [“Qacraft offering regression testing services with vast industry experience that ensure any enhancements, fixes, configuration changes or upgrades have not affected the functioning of…](https://sms4smile.com/quotes/qacraft/qacraft-offering-regression-testing-services-with-vast-industry/)

[qacraft](https://sms4smile.com/quotes/author/qacraft/)

> [I was really interested in how marriages work, how you can, you know, be in love with somebody and spend many years with your…](https://sms4smile.com/quotes/geraldine-brooks/i-was-really-interested-in-how-marriages-work-how-you-can-you-know-be/)

[Geraldine Brooks](https://sms4smile.com/quotes/author/geraldine-brooks/)

> [Over time, yes, countries will need to look at specific GMO products like they look at drugs today, where they don't approve them all.…](https://sms4smile.com/quotes/bill-gates/over-time-yes-countries-will-need-to-look-at-specific-gmo-products/)

[Bill Gates](https://sms4smile.com/quotes/author/bill-gates/)

> [You are always chasing yourself, if you have testing sessions you test it out then but it's also a thing of growing a team.](https://sms4smile.com/quotes/guenther-steiner/you-are-always-chasing-yourself-if-you-have-testing-sessions-you-test/)

[Guenther Steiner](https://sms4smile.com/quotes/author/guenther-steiner/)

> [“Religion, like science, is only noteworthy when it emphasizes a matter of what is true rather than whose belief is greater or lesser or…](https://sms4smile.com/quotes/criss-jami/religion-like-science-is-only-noteworthy-when-it-emphasizes-a-matter/)

[Criss Jami](https://sms4smile.com/quotes/author/criss-jami/)

> [Well, The Day the Earth Caught Fire was a story... I don't if anybody knows what it is but it was about... in the…](https://sms4smile.com/quotes/val-guest/well-the-day-the-earth-caught-fire-was-a-story-i-don-t-if-anybody/)

[Val Guest](https://sms4smile.com/quotes/author/val-guest/)

## More by Robert C. Martin

> [“The rules of software are the same today as they were in 1946, when Alan Turing wrote the very first code that would execute…](https://sms4smile.com/quotes/robert-c-martin/the-rules-of-software-are-the-same-today-as-they-were-in-1946-when/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Just as the Hare was overconfident in its speed, so the developers are overconfident in their ability to remain productive.”](https://sms4smile.com/quotes/robert-c-martin/just-as-the-hare-was-overconfident-in-its-speed-so-the-developers-are/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“How can we make sure we wind up behind the right door when the going gets tough? The answer is: craftsmanship.”](https://sms4smile.com/quotes/robert-c-martin/how-can-we-make-sure-we-wind-up-behind-the-right-door-when-the-going/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The problem that Dijkstra recognized, early on, was that programming is hard, and that programmers don’t do it very well.”](https://sms4smile.com/quotes/robert-c-martin/the-problem-that-dijkstra-recognized-early-on-was-that-programming-is/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Few practices are as odious as commenting-out code. Don’t do this!”](https://sms4smile.com/quotes/robert-c-martin/few-practices-are-as-odious-as-commenting-out-code-don-t-do-this/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Remember that code is really the language in which we ultimately express the requirements. We may create languages that are closer to the requirements.…](https://sms4smile.com/quotes/robert-c-martin/remember-that-code-is-really-the-language-in-which-we-ultimately/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“When you are working on a problem, you sometimes get so close to it that you can’t see all the options. You miss elegant…](https://sms4smile.com/quotes/robert-c-martin/when-you-are-working-on-a-problem-you-sometimes-get-so-close-to-it/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The majority of the cost of a software project is in long-term maintenance.”](https://sms4smile.com/quotes/robert-c-martin/the-majority-of-the-cost-of-a-software-project-is-in-long-term/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Duplication may be the root of all evil in software.”](https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“So if you want to go fast, if you want to get done quickly, if you want your code to be easy to write,…](https://sms4smile.com/quotes/robert-c-martin/so-if-you-want-to-go-fast-if-you-want-to-get-done-quickly-if-you-want/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large goal. Each step enables…](https://sms4smile.com/quotes/robert-c-martin/refactoring-is-a-lot-like-solving-a-rubik-s-cube-there-are-lots-of/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Slaves are not allowed to say no. Laborers may be hesitant to say no. But professionals are expected to say no. Indeed, good managers…](https://sms4smile.com/quotes/robert-c-martin/slaves-are-not-allowed-to-say-no-laborers-may-be-hesitant-to-say-no/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Abstraction is the elimination of the irrelevant and the amplification of the essential.”](https://sms4smile.com/quotes/robert-c-martin/abstraction-is-the-elimination-of-the-irrelevant-and-the/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“You see, programmers tend to be arrogant, self-absorbed introverts. We didn’t get into this business because we like people. Most of us got into…](https://sms4smile.com/quotes/robert-c-martin/you-see-programmers-tend-to-be-arrogant-self-absorbed-introverts-we/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Truth can only be found in one place: the code.”](https://sms4smile.com/quotes/robert-c-martin/truth-can-only-be-found-in-one-place-the-code/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

[Explore all 34 Robert C. Martin quotes ](https://sms4smile.com/quotes/author/robert-c-martin/)

## More Programming quotes

> [Of everything I have done, 'The Archers' always gets the most excitement; there's a sort of uncontrollable joy from fans of the program.](https://sms4smile.com/quotes/felicity-jones/of-everything-i-have-done-the-archers-always-gets-the-most-excitement/)

[Felicity Jones](https://sms4smile.com/quotes/author/felicity-jones/)

> [When we shipped 'Borderlands 2,' we didn't ship it with a plan of how the level cap was going to increase. We didn't have…](https://sms4smile.com/quotes/randy-pitchford/when-we-shipped-borderlands-2-we-didn-t-ship-it-with-a-plan-of-how/)

[Randy Pitchford](https://sms4smile.com/quotes/author/randy-pitchford/)

> [It is no secret that I have read 'The Da Vinci Code' several times. I genuinely believe that 'The Da Vinci Code' and 'Angels…](https://sms4smile.com/quotes/ashwin-sanghi/it-is-no-secret-that-i-have-read-the-da-vinci-code-several-times-i/)

[Ashwin Sanghi](https://sms4smile.com/quotes/author/ashwin-sanghi/)

> [“Check the program before you two start undressing and...well, doing whatever freaky shit you talked Harley into.” I”](https://sms4smile.com/quotes/james-cox/check-the-program-before-you-two-start-undressing-and-well-doing/)

[James Cox](https://sms4smile.com/quotes/author/james-cox/)

> [Programmers are always surrounded by complexity; we cannot avoid it… If our basic tool, the language in which we design and code our programs,…](https://sms4smile.com/quotes/tony-hoare/programmers-are-always-surrounded-by-complexity-we-cannot-avoid-it-if/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [One of my most productive days was throwing away 1,000 lines of code.](https://sms4smile.com/quotes/ken-thompson/one-of-my-most-productive-days-was-throwing-away-1-000-lines-of-code/)

[Ken Thompson](https://sms4smile.com/quotes/author/ken-thompson/)

> [Writing code means always having to say you're sorry.](https://sms4smile.com/quotes/paul-ford/writing-code-means-always-having-to-say-you-re-sorry/)

[Paul Ford](https://sms4smile.com/quotes/author/paul-ford/)

> [Limit use of shareware and public domain software to systems without fixed disks. If you do use them on fixed disks, allocate separate subdirectories...…](https://sms4smile.com/quotes/john-mcafee/limit-use-of-shareware-and-public-domain-software-to-systems-without/)

[John McAfee](https://sms4smile.com/quotes/author/john-mcafee/)

> [I'm publicist, patron of nine charities, creative director, food consultant, recipe developer - and mum.](https://sms4smile.com/quotes/jack-monroe/i-m-publicist-patron-of-nine-charities-creative-director-food/)

[Jack Monroe](https://sms4smile.com/quotes/author/jack-monroe/)

> [With VR, we have this same vision, which is create this ultimate platform for sharing your imagination. Our huge community of 300,000 developers creates…](https://sms4smile.com/quotes/david-baszucki/with-vr-we-have-this-same-vision-which-is-create-this-ultimate/)

[David Baszucki](https://sms4smile.com/quotes/author/david-baszucki/)

> [It would be a piece of ingenuousness to accuse the man of today of his lack of moral code. The accusation would leave him…](https://sms4smile.com/quotes/jose-ortega-y-gasset/it-would-be-a-piece-of-ingenuousness-to-accuse-the-man-of-today-of/)

[Jose Ortega y Gasset](https://sms4smile.com/quotes/author/jose-ortega-y-gasset/)

> [A lot of the kids gave a lot of positive feedback about if I ever became a coach, they would love to play in…](https://sms4smile.com/quotes/penny-hardaway/a-lot-of-the-kids-gave-a-lot-of-positive-feedback-about-if-i-ever/)

[Penny Hardaway](https://sms4smile.com/quotes/author/penny-hardaway/)

> [I loved 'Chicago Code;' I watched that a lot. It was great because it really captured the city - I'm from Chicago, too.](https://sms4smile.com/quotes/jessy-schram/i-loved-chicago-code-i-watched-that-a-lot-it-was-great-because-it/)

[Jessy Schram](https://sms4smile.com/quotes/author/jessy-schram/)

> [I kind of pride myself on coming onto things that are well-oiled machines and finding a way to bring what I bring and fit…](https://sms4smile.com/quotes/rob-lowe/i-kind-of-pride-myself-on-coming-onto-things-that-are-well-oiled/)

[Rob Lowe](https://sms4smile.com/quotes/author/rob-lowe/)

> [“By rendering the model in ASN.1, the NCBI created a system that combined objects (DNA sequences, protein sequences, references, sequence features) from a variety…](https://sms4smile.com/quotes/anonymous/by-rendering-the-model-in-asn-1-the-ncbi-created-a-system-that/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

[Browse all 6,477 Programming quotes ](https://sms4smile.com/quotes/about/programming/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“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.”",
            "creator": {
                "@type": "Person",
                "name": "Robert C. Martin"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/robert-c-martin/dijkstra-once-said-testing-shows-the-presence-not-the-absence-of-bugs/",
            "about": {
                "@type": "Thing",
                "name": "Programming"
            },
            "@id": "https://sms4smile.com/quotes/robert-c-martin/dijkstra-once-said-testing-shows-the-presence-not-the-absence-of-bugs/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg",
                "url": "https://sms4smile.com/quotes/i/a25/robert-c-martin-18499_programming_dijkstra-once-said-testing-shows-the-pre_3028428.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Dijkstra once said, “Testing shows the presence, not the absence, of bugs.” In other words, a program can be…” — Robert C. Martin",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Robert C. Martin",
                    "item": "https://sms4smile.com/quotes/author/robert-c-martin/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Dijkstra once said, “Testing shows the...",
                    "item": "https://sms4smile.com/quotes/robert-c-martin/dijkstra-once-said-testing-shows-the-presence-not-the-absence-of-bugs/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/robert-c-martin/dijkstra-once-said-testing-shows-the-presence-not-the-absence-of-bugs/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
