Will exhaustive testing (even if it is possible for very
small programs) guarantee
that the program is 100 percent correct?

Answer Posted / ron h.

No, even exhaustive testing will not guarantee that the
program is 100 percent correct. There are too many
variables to consider.

Consider this...
Installation testing - did the program install according to
the instructions?
Integration testing - did the program work with all of the
other programs on the system without interference, and did
the installed modules of the program integrate and work
with other installed modules?
Function testing - did each of the program functions work
properly?
Unit testing - did the unit work as a standalone as
designed, and did the unit work when placed in the overall
process?
User Acceptance Testing - did the program fulfill all of
the user requirements and work per the user design?
Performance testing - did the program perform to a level
that was satisfactory and could it carry the volume load
placed upon it?
While these are just the basic tests for an exhaustive
testing scenario, you could keep testing beyond these tests
using destructive methods, white box internal program
testing, establish program exercises using automated
scripts, etc.

The bottom line is... testing has to stop at some point in
time. Either the time runs out that was allotted for
testing, or you gain a confidence level that the program is
going to work. (Of course, the more you test, the higher
your confidence level).

I don't know anyone that would give a 100% confidence level
that the program is 100% correct, (to do so is to invite
people to prove you wrong and they will come back with all
kinds of bugs you never even considered). However, you may
be 95% confident that you found most all of the major
bugs. Based upon this level of confidence, you would then
place the program into production use - always expecting
some unknown bug to be found.

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many pages are in 1 coil?

1570


i want to be manager in sotre and purchase

1452


what are the difference between elecric and electronic?

1677


I have completed mba, i'm so much intrested in group2, can u plz tel me how to prepare for this exactly.

1456


how to prepare for upcoming group-1 exams.what is the material is best suit for preparation of group-1.

1563






when will be declare the result of sbi clerk exam held in nov 2009

1495


Hi friends I was selected for SBI clerical interview and my interview is on may 7 I completed B.sc Computers wat are the questions to be asked regarding computers.....can u pls post the answer for me.........JO

1573


hi, i've cleared union bank of india's clerical cadre written exam. and called for interview on 18th of this month. I dont have the copy of fee payment challan and print out of online application. whether these things are very important or not?

1491


1)difference betwen debit and credit card? 2)what is repo rate 3) how many branches are there in kvb? 4)basic operation of all banks? 5)bank rate? 6)ATM? 7)types of accounts in a bank? 8) what is CRR and what its present cRR

1632


Describe a technology you learned recently. How do you learn it?

2013


is there any company in India where you can earn money from home by doing job online

1299


The primary purpose of an operating system is....

1701


i entered singapore on 16th october 2009. but i was refused to enter singapore on the airport. when i asked him he dint answered me.by now my visa is expired and i wanna know the reason of my entry rejection in india

1692


he was the first indian to score a triple century cricket

1423


what is GRN ? When to raise GRN?

1997