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 条
  • [31] Automatic test case generation from UML State Machine diagrams
    Olianas, Dario
    PROGRAMMING 2019: PROCEEDINGS OF THE CONFERENCE COMPANION OF THE 3RD INTERNATIONAL CONFERENCE ON ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, 2019,
  • [32] Test Pattern Generation for Approximate Circuits Based on Boolean Satisfiability
    Gebregiorgis, Anteneh
    Tahoori, Mehdi B.
    2019 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2019, : 1028 - 1033
  • [33] Parallel test generation for combinational circuits based on Boolean satisfiability
    Sun, YZ
    Wei, DZ
    NINTH ANNUAL IEEE INTERNATIONAL ASIC CONFERENCE AND EXHIBIT, PROCEEDINGS, 1996, : 267 - 270
  • [34] Towards Scalable Compositional Test Generation
    Sun, Tao
    Wang, Zheng
    Pu, Geguang
    Yu, Xiao
    Qiu, Zongyan
    Gu, Bin
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 353 - +
  • [35] Efficient Techniques for Directed Test Generation using Incremental Satisfiability
    Mishra, Prabhat
    Chen, Mingsong
    22ND INTERNATIONAL CONFERENCE ON VLSI DESIGN HELD JOINTLY WITH 8TH INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS, PROCEEDINGS, 2009, : 65 - 70
  • [36] SPIRIT: Satisfiability problem implementation for redundancy identification and test generation
    Gizdarski, E
    Fujiwara, H
    PROCEEDINGS OF THE NINTH ASIAN TEST SYMPOSIUM (ATS 2000), 2000, : 171 - 178
  • [37] Graded CTL Model Checking for Test Generation
    Napoli, Margherita
    Parente, Mimmo
    THEORY OF MODELING & SIMULATION: DEVS INTEGRATIVE M&S SYMPOSIUM 2011 (TMS-DEVS 2011) - 2011 SPRING SIMULATION, 2011, 43 (01): : 59 - 66
  • [38] Combining behavior and data modeling in automated test case generation
    Schroeder, PJ
    Kim, E
    Arshem, J
    Bolaki, P
    THIRD INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2003, : 247 - 254
  • [39] Test Case Generation from UML-Diagrams Using Genetic Algorithm
    Sahoo, Rajesh Kumar
    Derbali, Morched
    Jerbi, Houssem
    Doan Van Thang
    Kumar, P. Pavan
    Sahoo, Sipra
    CMC-COMPUTERS MATERIALS & CONTINUA, 2021, 67 (02): : 2321 - 2336
  • [40] Learning techniques for automatic test pattern generation using boolean satisfiability
    Xin, Liu
    Telkomnika - Indonesian Journal of Electrical Engineering, 2013, 11 (07): : 4077 - 4085