Friday, January 30, 2009

Principles of testing

A number of testing principles have been suggested over the past 40 years and offer general

guidelines common for all testing.

Principle 1 – Testing shows presence of defects

Testing can show that defects are present, but cannot prove that there are no defects.

Testing reduces the probability of undiscovered defects remaining in the software but, even if no defects are found, it is not a proof of correctness.

Principle 2 – Exhaustive testing is impossible

Testing everything (all combination of inputs and preconditions) is not feasible except for trivial

cases.

Principle 3 – Early testing

Testing activities should start as early as possible in the software or system development life cycle,

and should be focused on defined objectives

Principle 4 – Defect clustering

A small number of modules contain most of the defects discovered during pre-release testing, or

are responsible for the most operational failures.

Principle 5 – Pesticide paradox

If the same tests are repeated over and over again, eventually the same set of test cases will no

longer find any new defects. To overcome this “pesticide paradox”, the test cases need to be

regularly reviewed and revised, and new and different tests need to be written to exercise different

parts of the software or system to potentially find more defects.

Principle 6 – Testing is context dependent

Testing is done differently in different contexts. For example, safety-critical software is tested

differently from an e-commerce site.

Principle 7 – Absence-of-errors fallacy

Finding and fixing defects does not help if the system built is unusable and does not fulfill the users’

2 comments:

  1. Ηowdy would you mind stating which blog platform you're using?
    I'm planning to start my own blog in the near future but I'm having a
    tough time making a decision betweеn BlogEngine/Wordpress/B2evolution and
    Drupal. Thе reason I ask is becaᥙse your dеsign and ѕtүle
    seems dіffеrent then most blogs and I'm looking for something uniquе.
    P.S My аpologies for being off-topic but I hаd to ask!

    look at this site : How To Password Protect Foⅼder From Scratch

    ReplyDelete
  2. Ӏf you аre going for best contents like I ⅾo,
    јust go to see this web site every day as it provides quality
    contents, thanks
    visite site : How To Password Protect Folder Іn Less Than Ten Minutes Uѕing Tһese Amazing Tools

    ReplyDelete