• DocumentCode
    1885171
  • Title

    Applying Interface-Contract Mutation in Regression Testing of Component-Based Software

  • Author

    Hou, Shan-Shan ; Zhang, Lu ; Xie, Tao ; Mei, Hong ; Sun, Jia-Su

  • Author_Institution
    Peking Univ., Beijing
  • fYear
    2007
  • fDate
    2-5 Oct. 2007
  • Firstpage
    174
  • Lastpage
    183
  • Abstract
    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 component-based 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.
  • Keywords
    object-oriented programming; program testing; software maintenance; software packages; software quality; COTS component; black-box component; component-based software; interface-contract mutation; regression testing; software development; software maintenance; software system testing; source code; Computer science; Contracts; Electronic equipment testing; Genetic mutations; Programming; Software libraries; Software maintenance; Software systems; Software testing; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2007. ICSM 2007. IEEE International Conference on
  • Conference_Location
    Paris
  • ISSN
    1063-6773
  • Print_ISBN
    978-1-4244-1256-3
  • Electronic_ISBN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2007.4362630
  • Filename
    4362630