---
title: "Meaning & Key Takeaway of: Small tests lead to code quality. Medium…"
description: "\"“Small tests lead to code quality. Medium and large tests lead to product quality.”\" — James A. Whittaker"
image: "https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg"
---

#  Small tests lead to code quality. Medium and large tests…

![“Small tests lead to code quality. Medium and large tests lead to product quality.” quote by James A. Whittaker](https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg)   [Download](https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg) [Open image](https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg)

> ““Small tests lead to code quality. Medium and large tests lead to product quality.””

[James A. Whittaker](https://sms4smile.com/quotes/author/james-a-whittaker/)

## About This Quote

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

Small tests ensure code correctness; larger tests verify overall product behavior.

**In simple terms:** Test size matches purpose.

Key Takeaway

Apply appropriate test scale.

Themes

quality testing software

Mood

analytical practical

Type

educational technical

When to use this quote

- unit testing
- integration testing
- release cycles

Key Concepts

test pyramid risk mitigation

Questions to Reflect On

- When to prioritize unit vs. integration?
- How to balance speed and coverage?

A Different Perspective

Large tests can be costly and slow.

★ ★ ★ ★ ★   No ratings yet

[Code quality](https://sms4smile.com/quotes/about/code-quality/) [Programming](https://sms4smile.com/quotes/about/programming/) [Technology](https://sms4smile.com/quotes/about/technology/) [Tests](https://sms4smile.com/quotes/about/tests/)

## Related quotes

> [Illness, Injury, love, lost moments of true nreatgess, or sheer stupidity all occur to test the limits of your soul. Without these small tests,…](https://sms4smile.com/quotes/yaseeno/illness-injury-love-lost-moments-of-true-nreatgess-or-sheer-stupidity/)

Yaseeno

> [Good visual layout shows the logical structure of a program.](https://sms4smile.com/quotes/steve-mcconnell/good-visual-layout-shows-the-logical-structure-of-a-program/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the…](https://sms4smile.com/quotes/edsger-dijkstra/are-you-quite-sure-that-all-those-bells-and-whistles-all-those/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [The simple fact is that code quality tends to improve as you move between platforms... non-obvious bugs on Windows become VERY obvious in the…](https://sms4smile.com/quotes/ryan-c-gordon/the-simple-fact-is-that-code-quality-tends-to-improve-as-you-move/)

[Ryan C. Gordon](https://sms4smile.com/quotes/author/ryan-c-gordon/)

> [Programs should be written and polished until they acquire publication quality.](https://sms4smile.com/quotes/niklaus-wirth/programs-should-be-written-and-polished-until-they-acquire/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Testing by itself does not improve software quality. Test results are an indicator of quality, but in and of themselves, they don't improve it.…](https://sms4smile.com/quotes/steve-mcconnell/testing-by-itself-does-not-improve-software-quality-test-results-are/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [Don't document bad code - rewrite it.](https://sms4smile.com/quotes/brian-kernighan/don-t-document-bad-code-rewrite-it/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Time pressure gradually corrupts an engineer's standard of quality and perfection. It has a detrimental effect on people as well as products](https://sms4smile.com/quotes/niklaus-wirth/time-pressure-gradually-corrupts-an-engineer-s-standard-of-quality/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Releasing Linux versions has always been a matter of higher code quality, good software architecture, and technical interest for the platform.](https://sms4smile.com/quotes/timothee-besset/releasing-linux-versions-has-always-been-a-matter-of-higher-code/)

Timothee Besset

> [An API that isn't comprehensible isn't usable.](https://sms4smile.com/quotes/james-gosling/an-api-that-isn-t-comprehensible-isn-t-usable/)

[James Gosling](https://sms4smile.com/quotes/author/james-gosling/)

> [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/)

> [Responsible Development shares many practices with XP but the roots are different. Responsible Development's values are honesty, transparency, accountability and responsibility. These lead me…](https://sms4smile.com/quotes/kent-beck/responsible-development-shares-many-practices-with-xp-but-the-roots/)

[Kent Beck](https://sms4smile.com/quotes/author/kent-beck/)

> [I've used the Phoenix Centrifuge to replicate what the body's going to go through on the flight up. I've also done some gravity tests…](https://sms4smile.com/quotes/richard-branson/i-ve-used-the-phoenix-centrifuge-to-replicate-what-the-body-s-going/)

[Richard Branson](https://sms4smile.com/quotes/author/richard-branson/)

> [So many things beat upon us in a lifetime that simply enduring may seem almost beyond us… But the test a loving God has…](https://sms4smile.com/quotes/henry-b-eyring/so-many-things-beat-upon-us-in-a-lifetime-that-simply-enduring-may/)

[Henry B. Eyring](https://sms4smile.com/quotes/author/henry-b-eyring/)

> [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 James A. Whittaker

> [“Scarcity brings clarity.”](https://sms4smile.com/quotes/james-a-whittaker/scarcity-brings-clarity/)

[James A. Whittaker](https://sms4smile.com/quotes/author/james-a-whittaker/)

> [“At Google, this is exactly our goal: to merge development and testing so that you cannot do one without the other. Build a little…](https://sms4smile.com/quotes/james-a-whittaker/at-google-this-is-exactly-our-goal-to-merge-development-and-testing/)

[James A. Whittaker](https://sms4smile.com/quotes/author/james-a-whittaker/)

> [“Time is the strangest substance known to man. You can’t see, touch, hear, smell, taste or avoid it. Time makes you stronger-minded but weaker-bodied,…](https://sms4smile.com/quotes/james-a-whittaker/time-is-the-strangest-substance-known-to-man-you-can-t-see-touch-hear/)

[James A. Whittaker](https://sms4smile.com/quotes/author/james-a-whittaker/)

> [“As test documentation goes, test plans have the briefest actual lifespan of any test artifact. Early in a project, there is a push to…](https://sms4smile.com/quotes/james-a-whittaker/as-test-documentation-goes-test-plans-have-the-briefest-actual/)

[James A. Whittaker](https://sms4smile.com/quotes/author/james-a-whittaker/)

[Explore all 5 James A. Whittaker quotes ](https://sms4smile.com/quotes/author/james-a-whittaker/)

## More Code quality quotes

> [An API that isn't comprehensible isn't usable.](https://sms4smile.com/quotes/james-gosling/an-api-that-isn-t-comprehensible-isn-t-usable/)

[James Gosling](https://sms4smile.com/quotes/author/james-gosling/)

> [Releasing Linux versions has always been a matter of higher code quality, good software architecture, and technical interest for the platform.](https://sms4smile.com/quotes/timothee-besset/releasing-linux-versions-has-always-been-a-matter-of-higher-code/)

Timothee Besset

> [Don't document bad code - rewrite it.](https://sms4smile.com/quotes/brian-kernighan/don-t-document-bad-code-rewrite-it/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

> [Testing by itself does not improve software quality. Test results are an indicator of quality, but in and of themselves, they don't improve it.…](https://sms4smile.com/quotes/steve-mcconnell/testing-by-itself-does-not-improve-software-quality-test-results-are/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [Programs should be written and polished until they acquire publication quality.](https://sms4smile.com/quotes/niklaus-wirth/programs-should-be-written-and-polished-until-they-acquire/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [The simple fact is that code quality tends to improve as you move between platforms... non-obvious bugs on Windows become VERY obvious in the…](https://sms4smile.com/quotes/ryan-c-gordon/the-simple-fact-is-that-code-quality-tends-to-improve-as-you-move/)

[Ryan C. Gordon](https://sms4smile.com/quotes/author/ryan-c-gordon/)

> [Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the…](https://sms4smile.com/quotes/edsger-dijkstra/are-you-quite-sure-that-all-those-bells-and-whistles-all-those/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Good visual layout shows the logical structure of a program.](https://sms4smile.com/quotes/steve-mcconnell/good-visual-layout-shows-the-logical-structure-of-a-program/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [Time pressure gradually corrupts an engineer's standard of quality and perfection. It has a detrimental effect on people as well as products](https://sms4smile.com/quotes/niklaus-wirth/time-pressure-gradually-corrupts-an-engineer-s-standard-of-quality/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

[Browse all 10 Code quality quotes ](https://sms4smile.com/quotes/about/code-quality/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Small tests lead to code quality. Medium and large tests lead to product quality.”",
            "creator": {
                "@type": "Person",
                "name": "James A. Whittaker"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/james-a-whittaker/small-tests-lead-to-code-quality-medium-and-large-tests-lead-to/",
            "about": {
                "@type": "Thing",
                "name": "Code quality"
            },
            "@id": "https://sms4smile.com/quotes/james-a-whittaker/small-tests-lead-to-code-quality-medium-and-large-tests-lead-to/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg",
                "url": "https://sms4smile.com/quotes/i/04b/james-a-whittaker-62991_code-quality_small-tests-lead-to-code-quality-medium_1910949.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Small tests lead to code quality. Medium and large tests lead to product quality.” — James A. Whittaker",
                "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": "James A. Whittaker",
                    "item": "https://sms4smile.com/quotes/author/james-a-whittaker/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Small tests lead to code quality....",
                    "item": "https://sms4smile.com/quotes/james-a-whittaker/small-tests-lead-to-code-quality-medium-and-large-tests-lead-to/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/james-a-whittaker/small-tests-lead-to-code-quality-medium-and-large-tests-lead-to/#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
            }
        }
    ]
}
```
