The Art of Software Testing, Second Edition (2024)

6.6. Test Completion Criteria

One of the most difficult questions to answer when testing a program is determining when to stop, since there is no way of knowing if the error just detected is the last remaining error. In fact, in anything but a small program, it is unreasonable to expect that all errors will eventually be detected. Given this dilemma, and given the fact that economics dictate that testing must eventually terminate, you might wonder if the question has to be answered in a purely arbitrary way, or if there are some useful stopping criteria.

The completion criteria typically used in practice are both meaningless and counterproductive. The two most common criteria are these:

  1. Stop when the scheduled time for testing expires.

  2. Stop when all the test cases execute without detecting errors; that is, stop when the test cases are unsuccessful.

The first criterion is useless because you can satisfy it by doing absolutely nothing. It does not measure the quality of the testing. The second criterion is equally useless because it also is independent of the quality of the test cases. Furthermore, it is counterproductive because it subconsciously encourages you to write test cases that have a low probability of detecting errors.

As discussed in Chapter 2, humans are highly goal oriented. If you are told that you have finished a task when the test cases are unsuccessful, you will subconsciously write test cases that lead to this goal, avoiding the useful, high-yield, destructive ...

The Art of Software Testing, Second Edition (2024)
Top Articles
AWUF4U - MTN Nigeria
Bacs Direct Credit
SZA: Weinen und töten und alles dazwischen
Uhauldealer.com Login Page
Mcgeorge Academic Calendar
فیلم رهگیر دوبله فارسی بدون سانسور نماشا
Danatar Gym
Access-A-Ride – ACCESS NYC
Alan Miller Jewelers Oregon Ohio
Dr Doe's Chemistry Quiz Answer Key
Tyrunt
Thotsbook Com
Nitti Sanitation Holiday Schedule
Transfer Credits Uncc
Craigslist Blackshear Ga
Spectrum Field Tech Salary
Divina Rapsing
Jc Green Obits
Chicago Based Pizza Chain Familiarly
HP PARTSURFER - spare part search portal
Federal Express Drop Off Center Near Me
The Creator Showtimes Near Baxter Avenue Theatres
Gncc Live Timing And Scoring
Bfri Forum
Pfcu Chestnut Street
La Qua Brothers Funeral Home
Fastpitch Softball Pitching Tips for Beginners Part 1 | STACK
Wega Kit Filtros Fiat Cronos Argo 1.8 E-torq + Aceite 5w30 5l
O'reilly Auto Parts Ozark Distribution Center Stockton Photos
Here’s how you can get a foot detox at home!
Save on Games, Flamingo, Toys Games & Novelties
Navigating change - the workplace of tomorrow - key takeaways
B.k. Miller Chitterlings
Trebuchet Gizmo Answer Key
Asian Grocery Williamsburg Va
Woodman's Carpentersville Gas Price
What Does Code 898 Mean On Irs Transcript
Directions To The Closest Auto Parts Store
Kent And Pelczar Obituaries
Subdomain Finder
Exploring the Digital Marketplace: A Guide to Craigslist Miami
Shell Gas Stations Prices
Hanco*ck County Ms Busted Newspaper
Brown launches digital hub to expand community, career exploration for students, alumni
Ehc Workspace Login
Dagelijkse hooikoortsradar: deze pollen zitten nu in de lucht
Zipformsonline Plus Login
The Pretty Kitty Tanglewood
Sapphire Pine Grove
Doelpuntenteller Robert Mühren eindigt op 38: "Afsluiten in stijl toch?"
Bluebird Valuation Appraiser Login
Appsanywhere Mst
Latest Posts
Article information

Author: Rob Wisoky

Last Updated:

Views: 5693

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Rob Wisoky

Birthday: 1994-09-30

Address: 5789 Michel Vista, West Domenic, OR 80464-9452

Phone: +97313824072371

Job: Education Orchestrator

Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building

Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.