The Research on Test Database Automatic Generation Base on RQP

Author
ChenJian
Advisor
LiJunYi
School
Hunan University
Major
Computer Science and Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
19
Citations
1

Request the full text

Abstract

With the popular database application system,software testing play an important role in the quality and reliability of database application system.It is necessary to generate some significant data in database application system before testing it, which also known as the test database generation. The quality of the test data generation will affect the efficiency and completeness of the testing.There are a number of commercial tools to automatically generate test databases. These tools take a database schema and table sizes as input in order to generate new tuples. However, these tools often generate test databases which do not reflect the semantics of the application logic that should be tested, not adequate for testing a database application.In order to solve the problem that the generation process of Multi-RQP testing database the integration of data may obey the referential integrity constraints, a TDAG-RQP test database generation algorithm based on RQP (Reverse Query Processing) has been proposed in this thesis. Using database integrity constraints, the proposal first obtains data dependence of test data generation between separate tables in database, and then applies RQP to a top-down test database generation according to tester specified queries. The referential values in top tables are involved in test data generation of down tables when deriving tester specified queries. Algorithm analysis and case studies show that the test data generated from the new algorithm satisfies the database integrity constraints. The new algorithm improves the efficiency of the test database generation significantly, as well as follows the requirements of tester specified queries.The domain knowledge heuristics algorithm is proposed in order to solve the problem that the value generated by the randomly method can’t meet the semantic requirements of keys or contrary to attribute domain constraints and the primary key uniqueness constraints. In the algorithm, domain words database for each attribute is established,and each value must be obtain the domain words to satisfy semantics and meet the domain constraint. The algorithm can guarantee the primary key is unique in database. The algorithm generate the tuples for each query firstly,then insert into database if the tuples meet the unique constrain,otherwise ignore them and then regenerate. Cases analyses show that the algorithm can guarantee primary key is unique effectively,it satisfies domain constraints and the data generated meet the semantic requirements.

Related dissertations

  1. Design and Implementation of a Test Database Generation Tool
  2. Research and design of on-board control universal testing platform software
  3. Design and Implementation of Automated Test Case Generator
  4. The Design and Implementation of Public Client Business System of Internet Bank Based on J2EE
    XuYingJun ·Tianjin University ·2011 ·Master's thesis
  5. Web Based Metwork-Security Tool Testing and Analysis
  6. Software development for a launch vehicle
  7. Research on Software Automatic Testing and Its Application in Online Bank System
    AiWen ·Jilin University ·2012 ·Master's thesis
  8. Research and Implementation of Automatic Stub Generation Technology in Unit Test
  9. Research on Android-based Keyword-driven Automated Testing Framework
    HouJuMin ·Sun Yat-sen University ·2012 ·Master's thesis
  10. Study on Neural Network and Its Application in Software Fault Localization
    JiaoDongBin ·Dalian Maritime University ·2012 ·Master's thesis
  11. Research and Implementation of Automatic Software Testing Platform for Adsl Access Device
    MaJunFei ·Shanghai Jiaotong University ·2009 ·Master's thesis
  12. Design and Realization of Software Testing Management Tool
  13. Design and implementation of automatic generating test paper system
  14. The Research and Implementation of Middle School English Test Distributed Database Based on Ice
    GaoYing ·Northeast Normal University ·2012 ·Master's thesis
  15. Research on Application of automatic test case generation based on Improved Genetic Algorithm
    PengZuoDong ·Jiangxi University of Technology ·2012 ·Master's thesis
  16. Design and implementation of Automatic Pharmacy software system of TCM formula granule
  17. The Analysis and Design of Government Auto Office System Based SSH Framework
    LiuFeng ·Shandong University ·2012 ·Master's thesis
  18. Research of Software Testing Services in the Cloud Computing Environment
    MengXiangChao ·Dalian Maritime University ·2013 ·Master's thesis
  19. The Application of Embedded TCL Technology in MPLS VPN Test
    ChenRong ·Nanchang University ·2013 ·Master's thesis
  20. The Research and Implementation of VoIP Software Auto Test System