Research and Implementation based on the the contract component test data generation and multiplexing method
- Author
- ZhangHaiWang
- Advisor
- JiangZuo
- School
- Kunming University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 13
- Citations
- 0
Abstract
If the reusable software components can be used in quantity during software development process, it can not only increase productivity, reduce production costs, shorten development cycles, but also improve the flexibility and standardization of software systems. The high quality of component is the prerequisite that it can be reused successfully. Component testing is an important technique to assure component quality.The function of component is usually presented as its interfaces. Duo to the inherent characteristics of component, it must be tested adequately by component developers and component reusers. Test data generation is an important part in component testing, which has a direct impact on the efficiency and cost of testing.This dissertation generates and reuses test data based on component contract. For the different types of contract, we use different methods to generate test data. For the simple contract, we use the method of equivalence class partition, random values and boundary value selection. For the complex contract, we firstly use them to constitute the linear equations, and then use Gauss elimination method to solve linear equation to gain the relevant test data. In order to improve the testing efficiency and assure the testing quality, we present a method of contract-based test data reuse, which reuse previous test data according to the relationship between initial contract and new contract. We need to distinguish various types of contracts while reusing the test data.In this dissertation, we use B/S architecture to implement a contract-based component testing tool supporting test data generation and reuse. This tool can be used by component developers and component reusers. Component developers can generate test data based on initial contract; component reusers can generate test data or reuse previous test data to new contract. After the test data generation, testers can use contract mutation technique to reduce the mount of test data. After the test data executed, the practical result can be obtained. This tool can reduce testing costs, lighten the work power of testers, which can provide a better support to component testing.Finally, large numbers of experiments are executed to verify the effectiveness of our method and the availability of the testing tool.
Table of contents
Abstract 3-4
Abstract 4-6
directory 6-8
Introduction 8-14 <br / > 1.1 Research background and significance of the topic 8-10 1.1.1 Background
8-10
1.1.2 significance of the topic
1.2 research status 10-13
1.2.1 component test data generation 11-12
1.2.2 test data reuse research nbsp ; 12
1.2.3 problems exist the 12-13
1.3 in this work and chapters arrangements
13 1.4 Chapter Summary 13-14
Chapter II system analysis and design 14-22
2.1 related technologies 14-16
the 2.1.1 component testability of 14-16 < br /> 2.1.2 test data generated based on the components of the contract 16
1.4 Systems Analysis the 16-18 2.2.1 functional requirements
16-18
2.3 System Design 18-21
2.3.1 architecture design 18-19
the 2.3.2 class diagram design 19-20
2.3.3 Data layer design 20-21
2.4 Chapter Summary 21-22
Chapter test data generation method based on the components of the contract 22-31 < br /> 3.1 for component interface and contract information to get 22-24
3.1.1 component interface 3.1.2 Get 22-23
component contract information nbsp generated test data based on a simple contract / complex contracts; 23-24
3.2 24-29
3.2.1 simple contract-based test data generation 24-26 <br / > 3.2.2 to generate test data based on complex contracts 26-29
3.3 based on the precondition / pre-conditions, postconditions, invariants of test data generated 29-30
3.3.1 generated test data based on the pre-conditions 29
3.3.2 based on the pre-conditions, post-conditions, invariants of test data generation. 29 - 30
3.4 Chapter Summary the 30-31
Chapter contract-based component test data reuse 31-39
4.1 based on the pre-conditions of the test data reuse 31-36
4.1.1 to generate test data 31-34
4.1.2 Add and delete test data 34-35
4.1 .3 reduce the amount of test data 35-36
4.2 contract case multiplexing method of use 36-38
4.2.1 contract parameters described 36-37
4.2.2 initial contracts with new contracts 37-38
4.3 Chapter Summary 38-39
Chapter V system with experimental 39-51
5.1 system 39-43
5.1.1 interface and related functions 39-41
5.1.2 perform testing and analysis Test results 41-43
5.2 experiments and results analysis 43-50
5.2.1 generate test data and complex contract based on a simple contract 43-44
5.2.2 to generate test data based on different types of contracts 44-46
5.2.3 the member test data based on the pre-conditions of reuse 46-50
5.3 Chapter Summary 50-51
Chapter Summary and Outlook 51-53
6.1 This paper summarizes nbsp are; the nbsp outlook of the next phase of work 51
6.2; 51-52
6.3 Chapter Summary 52-53
Acknowledgements 53-54
Reference 54-57
Appendix A Master of papers during and participation in issues 57
Related dissertations
- Study on the principal and agent David Gusmn science and technology activities in the science of political theory of contract
- On Supply Chain Coordination with Price-Quality Dependent Demand
- Appropriable Quasi Rent of Relationship Specific Investment and Its Regulation
- Study of Fresh Agricultural Product Supply Chain Coordination under Emergency
- Research on the Control Mechanism of the Relationship between Agricultural Products Processing Company and Peasant Household
- Study on Valuation System of the Transfer of Management Rights to Contracted Rural Lands Based on Delphi
- Based on the Psychological Contract of FJ Real Estate Company Core Employee Incentive Problem Research
- The Reform of China’s Public Spending Management System Research: a Contract Theory Analysis
- Research on Path-oriented Test Data Generation
- Fujian Electric Power Design Institute Contract Management System Design and Implementation
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Design and Implementation of Contract Statistical Analysis System for a Company
- Impact of Psychological Contract on Teachers' In-role Performance Behavior in University-school Partnerships
- The construction of civil litigation contract
- Financial Product Contract Risk and Legal Regulation
- Study on Issues of the Crime of Contract Fraud
- The Crime of Fraud of the Contract Problems Explored
- On Several Issues about the Identification of the Contract Fraud Crime
- A Construction Contract Dispute Case Analysis of Liu, a Materials Company and an Engineering Company
- On the Rules and Regulations of Disgorgement