Article,

A theory of regression testing for behaviourally compatible object types

.
Software Testing, Verification and Reliability, 16 (3): 133--156 (2006)
DOI: http://dx.doi.org/10.1002/stvr.349

Abstract

A behavioural theory of object compatibility is presented, which has implications for object-oriented regression testing. The theory predicts that only certain models of state refinement yield compatible types, dictating the legitimate design styles to be adopted in object statecharts. The theory also predicts that conformity-testing using regression tests is inadequate. Functionally complete test-sets that are applied as regression tests to subtype objects are usually expected to cover the functionality of the original type, even though they are clearly not expected to cover extra functionality introduced in the subtype. However, such regression testing is proven to cover strictly less than the original state-space in the new context and so provides much weaker confidence than expected. A different retesting model is proposed, based on full automatic test regeneration from the subtype's specification. This method can guarantee equivalent levels of confidence after retesting. The behavioural conformity desired by regression testing can then be proven by verification in the theory. Copyright \\\\\\\\copyright 2006 John Wiley & Sons, Ltd.

Tags

Users

  • @leonardo

Comments and Reviews