TY - GEN
T1 - Applying interface-contract mutation in regression testing of component-based software
AU - Hou, Shan Shan
AU - Zhang, Lu
AU - Xie, Tao
AU - Mei, Hong
AU - Sun, Jia Su
PY - 2007
Y1 - 2007
N2 - Regression testing, which plays an important role in software maintenance, usually relies on test adequacy criteria to select and prioritize test cases. However, with the wide use and reuse of black-box components, such as reusable class libraries and COTS components, it is challenging to establish test adequacy criteria for testing software systems built on components whose source code is not available. Without source code or detailed documents, the misunderstanding between the system integrators and component providers has become a main factor of causing faults in componentbased software. In this paper, we apply mutation on interface contracts, which can describe the rights and obligations between component users and providers, to simulate the faults that may occur in this way of software development. The mutation adequacy score for killing the mutants of interface contracts can serve as a test adequacy criterion. We performed an experimental study on three subject systems to evaluate the proposed approach together with four other existing criteria. The experimental results show that our adequacy criterion is helpful for both selecting good-quality test cases and scheduling test cases in an order of exposing faults quickly in regression testing of component-based software.
AB - Regression testing, which plays an important role in software maintenance, usually relies on test adequacy criteria to select and prioritize test cases. However, with the wide use and reuse of black-box components, such as reusable class libraries and COTS components, it is challenging to establish test adequacy criteria for testing software systems built on components whose source code is not available. Without source code or detailed documents, the misunderstanding between the system integrators and component providers has become a main factor of causing faults in componentbased software. In this paper, we apply mutation on interface contracts, which can describe the rights and obligations between component users and providers, to simulate the faults that may occur in this way of software development. The mutation adequacy score for killing the mutants of interface contracts can serve as a test adequacy criterion. We performed an experimental study on three subject systems to evaluate the proposed approach together with four other existing criteria. The experimental results show that our adequacy criterion is helpful for both selecting good-quality test cases and scheduling test cases in an order of exposing faults quickly in regression testing of component-based software.
UR - http://www.scopus.com/inward/record.url?scp=47349085292&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=47349085292&partnerID=8YFLogxK
U2 - 10.1109/ICSM.2007.4362630
DO - 10.1109/ICSM.2007.4362630
M3 - Conference contribution
AN - SCOPUS:47349085292
SN - 1424412560
SN - 9781424412563
T3 - IEEE International Conference on Software Maintenance, ICSM
SP - 174
EP - 183
BT - ICSM 2007 - Proceedings of the 2007 IEEE International Conference on Software Maintenance
T2 - 23rd International Conference on Software Maintenance, ICSM
Y2 - 2 October 2007 through 5 October 2007
ER -