Regression testing: Difference between revisions

Content deleted Content added
Licriss (talk | contribs)
Removed unevidenced claim that GUIs don't often have regression tests
Licriss (talk | contribs)
Uses: Removed functional vs unit distinction, as unit is a test level and functional is test type, removed content describing unit and functional testing as already covered by those pages.
Line 52:
{{Quotation |text=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.|author=[[Fred Brooks]]|title=''[[The Mythical Man Month]]''|source=p. 122}}
 
Regression tests can be broadlydone categorizedat asany level, from [[functionalunit testtesting|unit]]s orthrough to [[UnitSystem integration testing|unitsystem testsintegration]]]. Functional tests exercise the complete program with various inputs. UnitThese tests exerciseare individualoften functions,automated [[subroutine]]s,due orto objectthe methods.need Bothfor functional testing toolsrepitition, and unit-testing tools tend tomay be automateddone andby aretest often third-party productstools that are not part of the compiler suite. A functional test may be a scripted series of program inputs, possibly even involving an automated mechanism for controlling mouse movements and clicks. A unit test may be a set of separate functions within the code itself or a driver layer that links to the code without altering the code being tested.
 
==See also==