Software Testing
why do we need testing?
It is helpful for developing the bugs free system. Also, it ensures no bugs and helps to deliver the product customer which is an expectation.
Testing
Testing is the process of validating and verifying that a software product application does what it is supposed to do.
Validating
Is the system going to the correct specifications?We are checking particular system is going correct the specification (use SRS).Also this process checked different testing methods and techniques.
Verifying
Is this system the right specification? also checked if the system is fit for use.It is apply for after the product development .Then we are checking system is fit for use and customer interest.
Cost of Defect
Importance of Testing
I. Verifing the software product.
II. Validating the software product.
III. Provide the informations for decision making.
IV. Detect the defects.(beacuse increasing the product quality and realize the risk detecting defects)
Testing Principle
I. Testing shows the presence of the defects.
Testing reduce the probability of undiscoverd defects remaining in the software but no defects,is not a proof of correctness.
II. Exhaustive tesing is impossible.
Testing everything (all combinations of of inputs and preconditions)is not feasible.
III. Early Testing.
To find defects early start as early as possible in the software or SDLC by focusing on define objectives.
IV. Defects Clustring.
Testing effort shall be focused proportionally to the expected and later observed defect density of modules.
V. Pestiside paradox.
If the same tests are repeated over again they will no longer find any new defects.
VI. Testing is context Dependt.
Testing is done in different contexts.
VII. Absense of error fallcy.
Finding and fixing defects does not help if the system built is unusable and does not fulfill the users needs and expectations.