Regression Testing

Regression testing is any type of software testing which seeks to uncover regression bugs. Regression bugs occur whenever software functionality that previously worked stops working. Typically regression bugs occur as an unintended consequence of program changes. Regression means to step backward. It is the opposite of progress. Common methods of regression testing are re-running previously run tests and checking whether previously-fixed faults have reemerged. Experience has shown that as software is developed, this kind of reemergence of faults is unfortunately quite common. Sometimes it occurs because a fix gets lost through poor revision control practices (or simple human error in revision control), but just as often a fix for a problem will be "fragile" - if some other change is made to the program, the fix no longer works. Finally, it has often been the case that when some feature is redesigned, the same mistakes will be made in the redesign that were made in the original implementation of the feature. Therefore, in most software development situations it is considered good practice that when a bug is located and fixed, a test that exposes the bug is recorded and regularly reperformed after subsequent changes to the program. This is often done with a 'test suite', a tool that gives an environment to execute all the regression test cases automatically ; some projects even set up automated systems to automatically re-run all regression tests at specified intervals (usually daily or weekly) and report any regressions. Or, if you are using make, you could set up your makefile to automatically run the regression tests after every successful compile. Regression testing is an integral part of the extreme programming software development methodology. In this methodology, design documents are replaced by extensive, repeatable, and automated testing of the entire software package at every stage in the software development cycle.

Quotes

  • "Also as a consequence of the introduction of new bugs, program maintenance requires far more system testing per statement written than any other programming. Theoretically, after each fix one must run the entire batch of test cases previously run against the system, to ensure that it has not been damaged in an obscure way. In practice, such regression testing must indeed approximate this theoretical idea, and it is very costly." -- Fred Brooks, The Mythical Man Month (p 122)

See also

 

<< PreviousWord BrowserNext >>
oskar schindler
john carmack
axiomatization
snakes and ladders
risk (game)
hypatia of alexandria
regional accents of english speakers
sebastian mnster
gis (disambiguation)
list of german kings and emperors
edward lorenz
don pasquale
lucia di lammermoor
dementia
spider
rubber
stargate sg 1
jack o'neill
violence in the israeli palestinian conflict 2000
violence in the israeli palestinian conflict 2001
violence in the israeli palestinian conflict 2002
classless inter domain routing
octet
humour
uiml
group sex
hesse
activation energy
north rhine westphalia
electrode potential
zillions of games
erich hckel
peleus
johns hopkins university
plotinus
bikram yoga
deer
wool
1103
emperor toba of japan
emperor sutoku of japan
1164
half reaction
lemon