• DocumentCode
    625503
  • Title

    Search-Based Testing of Relational Schema Integrity Constraints Across Multiple Database Management Systems

  • Author

    Kapfhammer, Gregory M. ; McMinn, Phil ; Wright, Chris J.

  • Author_Institution
    Dept. of Comput. Sci., Allegheny Coll., Meadville, PA, USA
  • fYear
    2013
  • fDate
    18-22 March 2013
  • Firstpage
    31
  • Lastpage
    40
  • Abstract
    There has been much attention to testing applications that interact with database management systems, and the testing of individual database management systems themselves. However, there has been very little work devoted to testing arguably the most important artefact involving an application supported by a relational database - the underlying schema. This paper introduces a search-based technique for generating database table data with the intention of exercising the integrity constraints placed on table columns. The development of a schema is a process open to flaws like any stage of application development. Its cornerstone nature to an application means that defects need to be found early in order to prevent knock-on effects to other parts of a project and the spiralling bug-fixing costs that may be incurred. Examples of such flaws include incomplete primary keys, incorrect foreign keys, and omissions of NOT NULL declarations. Using mutation analysis, this paper presents an empirical study evaluating the effectiveness of our proposed technique and comparing it against a popular tool for generating table data, DBMonster. With competitive or faster data generation times, our method outperforms DBMonster in terms of both constraint coverage and mutation score.
  • Keywords
    data integrity; relational databases; search problems; DBMonster tool; bug-fixing costs; constraint coverage; database management systems; knock-on effects; mutation analysis; mutation score; relational database; relational schema integrity constraints; search-based technique; search-based testing; table data generation tool; Compounds; Computer science; Database systems; Educational institutions; Relational databases; Testing; relational databases; search-based testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2013 IEEE Sixth International Conference on
  • Conference_Location
    Luembourg
  • Print_ISBN
    978-1-4673-5961-0
  • Type

    conf

  • DOI
    10.1109/ICST.2013.47
  • Filename
    6569713