首页    期刊浏览 2024年10月07日 星期一
登录注册

文章基本信息

  • 标题:Structural Coverage Criteria for Testing SQL Queries
  • 作者:M. José Suárez-Cabal ; Javier Tuya
  • 期刊名称:Journal of Universal Computer Science
  • 印刷版ISSN:0948-6968
  • 出版年度:2009
  • 卷号:15
  • 期号:3
  • 页码:584-619
  • 出版社:Graz University of Technology and Know-Center
  • 摘要:Adequacy criteria provide an objective measurement of test quality. Although these criteria are a major research issue in software testing, little work has been specifically targeted towards the testing of database-driven applications. In this paper, two structural coverage criteria are provided for evaluating the adequacy of a test suite for SQL queries that retrieve information from the database. The first deals with the way in which the queries select and join information from different tables and the second with the way in which selected data is further processed. The criteria take into account both the structure and the data loaded in the database, as well as the syntax and semantics of the query. The coverage criteria are subsequently used to develop test inputs of queries drawn from a real-life application. Finally, a number of issues related to the kind of faults that can be detected and the size of the test suite are discussed.
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有