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 条
  • [41] Test Vectors Generation for Crosstalk Coupling Delay Faults by Boolean Satisfiability
    Pan, Zhongliang
    Chen, Ling
    PROCEEDINGS OF THE 2015 INTERNATIONAL CONFERENCE ON ELECTRICAL AND INFORMATION TECHNOLOGIES FOR RAIL TRANSPORTATION: TRANSPORTATION, 2016, 378 : 239 - 247
  • [42] An automatic tool for checking consistency between data flow diagrams (DFDs)
    Ibrahim, Rosziati
    Yen, Siow Yen
    World Academy of Science, Engineering and Technology, 2010, 45 : 615 - 619
  • [43] Test Data Generation From Hibernate Constraints
    Marin, Krittaya
    Doungsa-ard, Chartchai
    8TH INTERNATIONAL CONFERENCE ON SOFTWARE, KNOWLEDGE, INFORMATION MANAGEMENT AND APPLICATIONS (SKIMA 2014), 2014,
  • [44] An automatic tool for checking consistency between Data Flow Diagrams (DFDs)
    Ibrahim, Rosziati
    Yen, Siow Yen
    World Academy of Science, Engineering and Technology, 2010, 70 : 615 - 619
  • [45] An efficient diagnostic test pattern generation framework using Boolean satisfiability
    Zheng, Feijun
    Cheng, Kwang-Ting
    Yan, Xiaolang
    Moondanos, John
    Hanna, Ziyad
    PROCEEDINGS OF THE 16TH ASIAN TEST SYMPOSIUM, 2007, : 288 - +
  • [46] RTL Test Generation via Fault Insertion and Hybrid Satisfiability Solving
    Wu, Weimin
    PROCEEDINGS OF THE 11TH JOINT CONFERENCE ON INFORMATION SCIENCES, 2008,
  • [47] Consistency checking between data and process diagrams based on formal methods
    Kouno, S
    Chang, HM
    Araki, K
    TWENTIETH ANNUAL INTERNATIONAL COMPUTER SOFTWARE & APPLICATIONS CONFERENCE (COMPSAC'96), PROCEEDINGS, 1996, 20 : 261 - 269
  • [48] A Scalable Method for the Generation of Small Test Sets
    Remersaro, Santiago
    Rajski, Janusz
    Reddy, Sudhakar M.
    Pomeranz, Irith
    DATE: 2009 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2009, : 1136 - 1141
  • [49] Test generation for Intelligent Networks using model checking
    Engels, A
    Feijs, L
    Mauw, S
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, 1997, 1217 : 384 - 398
  • [50] Using model checking for reducing the cost of test generation
    Hong, HS
    Ural, H
    FORMAL APPROACHES TO SOFTWARE TESTING, 2005, 3395 : 110 - 124