Scalable satisfiability checking and test data generation from modeling diagrams

被引:0
|
作者
Yannis Smaragdakis
Christoph Csallner
Ranjith Subramanian
机构
[1] University of Massachusetts,Computer Science
[2] University of Texas at Arlington,Computer Science and Engineering
[3] TheFind.com,undefined
来源
关键词
ORM; Modeling; Testing; Databases; NP-hardness; ORM-; Test data generation;
D O I
暂无
中图分类号
学科分类号
摘要
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.
引用
收藏
相关论文
共 50 条
  • [21] Test Case Generation from Conjunctions of Predicates with Model Checking
    Tian Cong
    Liu Shaoying
    Duan Zhenhua
    CHINESE JOURNAL OF ELECTRONICS, 2014, 23 (02) : 271 - 277
  • [22] Dataflow test case generation from UML Class diagrams
    Anbunathan, R.
    AnirbanBasu
    2013 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2013, : 134 - 142
  • [23] Automatic test case generation from UML communication diagrams
    Samuel, Philip
    Mall, Rajib
    Kanth, Pratyush
    INFORMATION AND SOFTWARE TECHNOLOGY, 2007, 49 (02) : 158 - 171
  • [24] Automatic test case generation from UML sequence diagrams
    Sarma, Monalisa
    Kundu, Debasish
    Mall, Rajib
    ADCOM 2007: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND COMMUNICATIONS, 2007, : 60 - +
  • [25] Improving algorithm for test pattern generation using satisfiability
    Zeng, Chengbi
    Chen, Guangju
    Chengdu Kejidaxue Xuebao/Journal of Chengdu University of Science and Technology, 2000, 32 (03): : 54 - 57
  • [26] Use Cases Modeling for Scalable Model-Checking
    Raji, Amine
    Dhaussy, Philippe
    2011 18TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2011), 2011, : 65 - 72
  • [27] Efficient Satisfiability Solving Algorithms for Test Pattern Generation
    Drechsler, Rolf
    Eggersgluess, Stephan
    Fey, Goerschwin
    Schloeffel, Juergen
    Tille, Daniel
    IT-INFORMATION TECHNOLOGY, 2009, 51 (02): : 102 - 111
  • [28] Model Checking Techniques for Test Generation from Business Process Models
    Buchs, Didier
    Lucio, Levi
    Chen, Ang
    RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2009, 2009, 5570 : 59 - 74
  • [29] Automatic test case generation using unified modeling language (UML) state diagrams
    Samuel, P.
    Mall, R.
    Bothra, A. K.
    IET SOFTWARE, 2008, 2 (02) : 79 - 93
  • [30] Automated generation of statistical test cases from UML state diagrams
    Chevalley, P
    Thévenod-Fosse, P
    25TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE, 2001, : 205 - 214