首页> 外文会议>Fourth IEEE International Conference on Software Testing, Verification, and Validation >Systematic Testing of Database Engines Using a Relational Constraint Solver
【24h】

Systematic Testing of Database Engines Using a Relational Constraint Solver

机译:使用关系约束求解器的数据库引擎的系统测试

获取原文

摘要

We describe an automated approach for systematic black-box testing of database management systems (DBMS) using a relational constraint solver. We reduce the problem of automated database testing into generating three artifacts: (1) SQL queries for testing, (2) meaningful input data to populate test databases, and (3) expected results of executing the queries on the generated data. We leverage our previous work on ADUSA and the Automated SQL Query Generator to form high-quality test suites for testing DBMS engines. This paper presents a detailed description of our framework for Automated SQL Query Generation using the Alloy tool-set, and experimental results of testing database engines using our framework. We show how the main SQL grammar constraints can be solved by translating them to Alloy constraints to generate semantically and syntactically correct SQL queries. We also present experimental results of combining ADUSA and the Automated SQL Query Generator, and applying our framework to test the Oracle 11g database. Our framework generated 5 new queries, which reveal erroneous behavior of Oracle 11g.
机译:我们描述了一种使用关系约束求解器对数据库管理系统(DBMS)进行系统黑盒测试的自动化方法。我们将自动化数据库测试的问题减少为生成三个工件:(1)用于测试的SQL查询,(2)有意义的输入数据以填充测试数据库,以及(3)对生成的数据执行查询的预期结果。我们利用以前在ADUSA和自动SQL查询生成器上的工作来形成用于测试DBMS引擎的高质量测试套件。本文详细介绍了我们使用Alloy工具集进行自动SQL查询生成的框架,以及使用我们的框架测试数据库引擎的实验结果。我们展示了如何通过将主要的SQL语法约束转换为Alloy约束来生成语义上和语法上正确的SQL查询,从而解决这些问题。我们还展示了结合ADUSA和自动SQL查询生成器并应用我们的框架测试Oracle 11g数据库的实验结果。我们的框架生成了5个新查询,这些查询揭示了Oracle 11g的错误行为。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号