I recently hosted an episode of Software Engineering Radio called "Eran Yahav on the Tabnine AI Coding Assistant"!

  • Home
  • Teaching
    • Overview
    • Data Abstraction
    • Operating Systems
  • Research
    • Overview
    • Papers
    • Presentations
  • Outreach
    • Software
    • Service
    • Blog
  • About
    • Biography
    • Schedule
    • Contact
    • Blog
    • Service
    • Papers
    • Presentations

Search-based testing of relational schema integrity constraints across multiple database management systems

database testing
empirical study
mutation testing
Proceedings of the 6th International Conference on Software Testing, Verification and Validation
Authors

Gregory M. Kapfhammer

Phil McMinn

Chris J. Wright

Published

2013

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.
Details

Paper
Presentation
Presentation
schemaanalyst/schemaanalyst

Reference
@inproceedings{Kapfhammer2013,
 author = {Gregory M. Kapfhammer and Phil McMinn and Chris J. Wright},
 booktitle = {Proceedings of the 6th International Conference on Software
Testing, Verification and Validation},
 title = {Search-based testing of relational schema integrity constraints
across multiple database management systems},
 year = {2013}
}

Return to Paper Listing

GMK

Top