首页 | 官方网站   微博 | 高级检索  
     


Scalable satisfiability checking and test data generation from modeling diagrams
Authors:Yannis Smaragdakis  Christoph Csallner  Ranjith Subramanian
Affiliation:(1) Computer Science, University of Massachusetts, Amherst, USA;(2) Computer Science and Engineering, University of Texas at Arlington, Arlington, USA;(3) TheFind.com, Mountain View, USA
Abstract: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.
Keywords:ORM  Modeling  Testing  Databases  NP-hardness  ORM-  Test data generation
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号