Research on Genetic Algorithm-Based Generating Test Case for Component-Based Software
- Author
- MaZhen
- Advisor
- ZhangYiKun
- School
- Xi'an University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 355
- Citations
- 8
- The Technology of Component-Based Software Testing
- Improved Immune Genetic Algorithm
- Model of Test Case Generation of Component-Based Software
- Vaccine
Abstract
With the development of software scale, high-efficient and high-quality software development becomes the research hotspot of modern software engineering. Component-Based Software Engineering, in short CBSE is the technology to ensure high-efficient and high-quality software development. But for the Component-Based Software, how to ensure the reliability of software becomes the difficult problem for software engineer, software testing is a necessary means of ensuring software reliability. So the testing technology of Component-Based Software will attract the testing engineer’s attention.In Component-Based Software testing technologies, efficient test case generation is the necessary means of simplification of software testing, improving testing efficiency and lower testing cost. Because the test case generated as a result of the initial volume, testing inefficient, so it’s requiring the use of a powerful optimization algorithm to optimize test case initially generated. Genetic Algorithm as a strong search method, showing a unique advantage and high efficiency in resolving the problems of high complexity such as: large space, multi-hillside, nonlinear and optimization of the overall. But for the local search space problem Genetic Algorithm is not very effective, reducing the diversity of the individual quickly. To overcome these shortcomings, Chun, based on somatic cell theory and the theory of immune network made an Immune Genetic Algorithm [1]. In this algorithm, target function as antigen and antibody as answer, the affinity between antigen and antibody as a joint intensity of the answer, showing a unique advantage and high efficiency. Through the improvements of the algorithm it can achieve the requirements of optimizing test case.This paper first introduces the testing technology and the automatic test case generation technologies of Component-Based Software. Then introduces the basic idea of Immune Genetic Algorithm, combined with concurrent idea and self improve idea suggests an Improved Iimmune Genetic Algorithm (IIGA),Combined with component’s contract checking idea, and suggests a Model of Test Case Generation of Component-Based Software (MTCGCBS) based on the IIGA, introduces the idea of IIGA in detail and realizes it. Through the comparison with Traditional Genetic Algorithm and Random Algorithm of the quantity and the generation efficiency of test case which achieves 100% coverage of the component interface methods for experimental Component-Based Software. IIGA is further proved to be superior in generating and optimizing test case for Component-Based Software, and at the same time, the correctness and feasibility of the MTCGCBS is validated.
Table of contents
Abstract 3-4
Abstract 4-7
the Symbol Table 7-8
Preface 8-13 <br / > 1.1 legislature title background and significance 8-9
1.2 research status 9-11
1.3 of this study's purpose and main content 11-12 < br /> 1.4 thesis structure 12-13
2 component-based software testing and test case generation technology 13-20
2.1 Overview of component-based software testing 13 -15
2.1.1 the definition and characteristics of the components 13-14
2.1.2 software features of the component-based software testing 14-15 <br / > 2.2 component-based software test case generation technology 15-19
2.2.1 contract inspection ideological 15-16
2.2.2 based contracts check the ideological component-based software testing case generation technology the 16-19 2.3 Chapter Summary
19-20
an improved immune genetic algorithm 20-26
3.1 Immune Genetic the algorithm outlined 20
3.2 immune genetic algorithm process 20-21
3.3 An improved immune genetic algorithm 21-22
3.4 improved immune genetic algorithm process and its convergence 22-25
3.5 Chapter Summary 25-26
4 based on the improved immune genetic algorithm component-based software test case generation 26-47
4.1 model framework 26-27
of 4.2 coding strategies 27-28
4.2.1 parameter encoding principle 27 <br / > 4.2.2 coding strategy selection 27-28
4.3 fitness function constructed 28-30
4.3.1 fitness function structure principle 28
4.3.2 fitness function 28-30
4.4 genetic operator specific embodiments 30-37
4.4.1 extract vaccines are found; 30 -31
4.4.2 adaptive crossover and mutation 31-35
4.4.3 vaccination 35
a 4.4.4 of immune choose 35 -36
4.4.5 migration strategy 36-37
4.5 development tool prototype experimental simulation are found in 37-39
4.6; 39-46
4.6.1 Experimental demonstration the 39-44
4.6.2 results Analysis 44-45
4.6.3 It should be noted that the problem 45-46
4.7 Chapter Summary 46-47
5 Summary and Outlook 47-49
Acknowledgements to References 49-50
the papers 50-54
studying for a master's degree during 54
master's degree during the Awards 54
studying for a master's degree during participation in the research project 54
during the master's degree in Conference 54
Related dissertations
- The Internationalization Strategy of CNBG’ Vaccine Industry
- The Specific Anti-gastric Cancer Effects of DC Modified by SOCS1Antagonists (pJAK2Polypeptide)
- Mechanism of Tumor Cells Derived Microparticles Mediated Antitumor Immune Response
- Study of Astragalus Polysaccharides on Maturation of Dendritic Cell and Promotion of Specific Anti-tumor Immunity
- The Progress in Non-antibiotic Treatment for Helicobacter Pylori Infection
- Immuno-regulation of T-bet Adjuvant on Ag85B DNA Vaccination Against Tuberculosis
- The Study of Novel Cervical Cancer Prophylactic Vaccines Based on HPV16L2
- The Study of the Anti-Tumor Immune Mechanism ofβ-elemene Associated with DC/DRibble Vaccine Inhibition on Mice Liver Cancer
- Prokaryotic Expression and:Immunogenicity Analysis of C5a Peptidase of Streptococcus Agalactiae Isolated from Tilapia
- Studies on the Vaccine of PPMV-Ⅰand Cloning, Expression and the Biological Activity of F Gene Segments of PPMV-Ⅰ
- Isolation and Identification of H1N1Subtpye of Panda Influenza a Virus, Sequence Analysis and the Study of of Its Reverse Genetic Technology and Vaccine
- Epidemic Condition Investigation and Practice of Prevention and Cure of Dairy Cattles Endomitritis
- Applications and Evaluations of Three Commercial PCV2Vaccines in Large Scale Pig Farm
- The Study of PED Epidemiological Investigation and Immunoprotection Experiment of PED Vaccines
- Swine Mycoplasma Hyopneumoniae Epidemiological (MHP)Survey in Some Areas of Shanxi Province and Immunity Contrast Test of MHP
- Studies on the Effect of Protein Kinase C on PRRSV Replication and Vaccine of Recombinant K. Lactis Expressing GP5
- Research on the Immune Efficacy of Precocious Strain of E.Necatrix in Chickens
- Evaluation of Immunotherapies Targeting Capsules and Exotoxins in the Control of Infectious Diseases Caused by Staphylococcus Aureus
- Preparation and Immunigenicity of Porcine Circovirus2and Haemophilus Parasuis Combination Inactivated Vaccine
- Non-specificity Immune Vaccine Regulates Asthma via Th1/Th2/Treg/Th17Cell Balance in an Acute Mouse Model