首页> 外文期刊>Software Testing, Verification and Reliability >Full predicate coverage for testing SQL database queries
【24h】

Full predicate coverage for testing SQL database queries

机译:完整的谓词覆盖范围,用于测试SQL数据库查询

获取原文

摘要

In the field of database applications a considerable part of the business logic is implemented using a semi-declarative language: the Structured Query Language (SQL). Because of the different semantics of SQL compared with other procedural languages, the conventional coverage criteria for testing are not directly applicable. This paper presents a criterion specifically tailored for SQL queries (SQLFpc). It is based on Masking Modified Condition Decision Coverage (MCDC) or Full Predicate Coverage and takes into account a wide range of the syntax and semantics of SQL, including selection, joining, grouping, aggregations, subqueries, case expressions and null values. The criterion assesses the coverage of the test data in relation to the query that is executed and it is expressed as a set of rules that are automatically generated and efficiently evaluated against a test database. The use of the criterion is illustrated in a case study, which includes complex queries.
机译:在数据库应用程序领域中,很大一部分业务逻辑是使用半声明性语言实现的:结构化查询语言(SQL)。由于与其他过程语言相比,SQL的语义不同,因此常规的测试覆盖标准不能直接应用。本文提出了专门针对SQL查询(SQLFpc)的标准。它基于掩盖修改后的条件决策覆盖率(MCDC)或完全谓词覆盖率,并考虑了SQL的广泛语法和语义,包括选择,联接,分组,聚合,子查询,案例表达式和空值。该标准评估与执行的查询有关的测试数据的覆盖范围,并将其表示为一组规则,这些规则会自动生成并针对测试数据库进行有效评估。在一个案例研究中说明了该标准的使用,其中包括复杂的查询。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号