Answer Quote by Bjarne Stroustrup
“How to test?" is a question that cannot be answered in general. "When to test?" however, does have a general answer: as early and as often as possible.”
About This Quote
Source Interview: Software Testing Principles, 2015
Testing should be done early and frequently; the timing of testing is more critical than the specific tests themselves.
In simple terms: Test early and often.
Implement continuous integration and frequent testing.
Themes
Mood
Type
When to use this quote
- startup development
- legacy code maintenance
- CI pipelines
Key Concepts
Questions to Reflect On
- How can teams decide which tests are most valuable?
- What practices ensure testing remains efficient?
Over-testing can waste resources if not focused.