首页> 外文期刊>Automated software engineering >Scalable Satisfiability Checking And Test Data Generation From Modeling Diagrams
【24h】

Scalable Satisfiability Checking And Test Data Generation From Modeling Diagrams

机译:通过建模图进行可扩展的满意度检查和测试数据生成

获取原文
获取原文并翻译 | 示例

摘要

We explore the automatic generation of test data that respect constraints expressed in the Object-Role Modeling (ORM) language. ORM is a popular conceptual modeling language, primarily targeting database applications, with significant uses in practice. The general problem of even checking whether an ORM diagram is satisfiable is quite hard: restricted forms are easily NP-hard and the problem is undecidable for some expressive formulations of ORM. Brute-force mapping to input for constraint and SAT solvers does not scale: state-of-the-art solvers fail to find data to satisfy uniqueness and mandatory constraints in realistic time even for small examples. We instead define a restricted subset of ORM that allows efficient reasoning yet contains most constraints overwhelmingly used in practice. We show that the problem of deciding whether these constraints are consistent (i.e., whether we can generate appropriate test data) is solvable in polynomial time, and we produce a highly efficient (interactive speed) checker. Additionally, we analyze over 160 ORM diagrams that capture data models from industrial practice and demonstrate that our subset of ORM is expressive enough to handle their vast majority.
机译:我们探索了自动生成的测试数据,该数据遵循以对象角色建模(ORM)语言表达的约束。 ORM是一种流行的概念建模语言,主要针对数据库应用程序,在实践中具有重要用途。甚至检查ORM图是否可满足的一般问题都非常棘手:受限制的形式很容易NP-hard,并且对于ORM的某些表达形式,该问题无法确定。蛮力映射到约束和SAT求解器的输入无法缩放:最先进的求解器即使在很小的例子中,也无法在现实时间内找到满足唯一性和强制约束的数据。相反,我们定义了ORM的受限子集,该子集可以进行有效的推理,但包含了绝大多数实践中绝大多数使用的约束。我们表明,确定这些约束条件是否一致(即是否可以生成适当的测试数据)的问题可以在多项式时间内解决,并且我们可以产生一个高效的(交互速度)检查器。此外,我们分析了160多个ORM图,这些图捕获了来自工业实践的数据模型,并证明了我们的ORM子集具有足够的表现力,可以处理绝大多数数据。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号