A Class Level Mutant of Object-oriented Program and Its Testing Adequacy

Author
HuSu
Advisor
ChenHuoYan
School
Jinan University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2005
Downloads
74
Citations
1

Request the full text

Abstract

This paper aims to transform according of Professor Chen Huoyan proposed formal basis through the property and methods transform concepts and ideas generated variants of object-oriented class-level variation analysis and mutation testing methods applied to the object-oriented class-level testing . This paper first introduces variability test theories, ideas and adequacy metrics and variation analysis method with a combination of object-oriented testing progress and realization of the difficulty. Then describes of Professor Chen Huoyan proposed new class-level variant of the concept and the basic idea. On this basis, introduced the author to complete the algorithm implementation and its corresponding test adequacy. The algorithm for simple object-oriented class program committed procedural errors generated class level variants. The basic idea is to first category of properties and methods within a given class, then scan a given class program, each one encounter a property (or method), with the property ( or methods) replace another property of the same class (or method), resulting to a variant of the properties of the given class (or method). Thus generated variant syntax no problem. Then known test cases were run this group of variants and source code, by the results of comparing records killing variant number as use cases to test the adequacy of a measure, while analysis of the test coverage and effectiveness of the methods. The main work of this paper is to construct an object-oriented class-level mutation testing tool to automatically generate the known variants procedures, then generated variants corresponding test adequacy analysis. Tools to achieve automated variant generation, and compare the results of the program with the source code of the variants run test cases full degrees S final calculation of the test, including test case generation, and test the adequacy of the analysis for the artificial realize. Rigorous formal foundation of the method, in strict compliance with the mutation testing tiny, grammatically correct semantic transformation requirements; variation object-oriented class-level testing goals through the properties and methods of the class; the method by program category and class progressive scan to ensure each place attribute (or method) transform, grammatically correct, and meet a number of requirements to ensure the feasibility of the algorithm and test fully attribute variation method variance ideological oo class level variant generation is the first times proposed.

Table of contents

Introduction 8-10 Chapter Introduction to Software Testing 10-16 1.1 software testing concepts and misunderstanding 10 1.2 software testing method the 10-11 1.2.1 black box testing method 10-11 1.2.2 whitebox testing method, 11 1.3 testing process and organization 11-12 1.4 test method application 12 1.5 object-oriented software testing 12-16 1.5.1 features of object-oriented programming 12-14 1.5.2 Object Oriented Program Testing complexity 14 1.5.3 Test hierarchical object-oriented programming 14-16 Chapter II mutation testing, and the combination of object-oriented class-level testing 16-21 2.1 sik wrong test principle 16 2.2 planting the wrong tool for object-oriented achieve 16-17 2.3 mutation testing principle 17-19 2.4 variation method in the class-level test 2.5 This paper the innovative points or difficult nbsp 19-21 Chapter variants of object-oriented class-level generation algorithm; 21-33 3.1 algorithm proposed 21 - 26 3.1.1 General 00 deficiency mutation testing 21 3.1.2 current class level test Overview 21-23 3.1.3 class test case member and composition 23-24 3.1.4 class testing process 3.1.5 test the extent of 24-25 25 3.1.6 determine class test cases and driver are found; 25 3.1.7 software built-in self-test and its use in this article 25-26 3.1.8 How to generate syntactically correct variant 26 3.2 variant generation algorithm the 26-29 3.2.1 attribute variation 26-27 3.2.2 method variability 27 -28 3.2.3 test adequacy 28-29 3.3 algorithm analysis and evaluation 29 the 3.4 small example: \; 29-33 Chapter system prototype framework design and implementation 33-38 4.1 test system framework outlined 33 4.2 prototype system work steps 33-38 4.2.1 work steps 33-35 4.3.2 prototype system analysis, design and module description 35-38 Chapter system design to achieve the main technical 38-45 the 5.1 syntax scanned 38-40 5.2 input and output stream processing 40-41 5.3 regular expression and string comparison 41-42 5.4 reflection Reflect 42-45 Chapter VI program instances and run results 45-53 <br / > 6.1 program instance 45-48 6.2 program instance two 48-50 6.3 application instance 50-53 Chapter VII Conclusion 53-54 Acknowledgements to References 54-55 55-57 Appendix I of papers published during graduate studies 57

Related dissertations

  1. Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
    KongJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. The Design and Implementation of Website Construction Based on OpenCms Technology
  3. Design and Implementation of Materials Management System of Multi-level Educational Institutions
    PeiZhiChao ·Northeastern University ·2013 ·Master's thesis
  4. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  5. The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
    LinYan ·Dalian University of Technology ·2013 ·Master's thesis
  6. Design and Implementation of Tianhua College Office System
    JieJian ·Dalian University of Technology ·2013 ·Master's thesis
  7. Universities Fixed Asset Lifecycle Management System Design
    JiangChuanLin ·Dalian University of Technology ·2013 ·Master's thesis
  8. Analysis and design of engineering project management system
    XuXianJun ·Yunnan University ·2013 ·Master's thesis
  9. The Design and Implementation of Vehicle Tracking Management System
  10. Design and Implementation of the Management System of the Service Area
  11. The Design and Realization of Campus Blog System Based on ASP
  12. The Design and Implementation of the Ship Agency Management System
  13. Design and Implementation of Supermarket Chain Chongqing Chongkelong Co Information System
  14. Design and Implementation of Network Curriculum Teaching Platform for Middle School
  15. Analysis and design of student information management system
    WuShaSha ·Yunnan University ·2013 ·Master's thesis
  16. Design and Implementation of Community Management Sub-System on Police Mobile System
    LiuYang ·Xi'an University of Petroleum ·2012 ·Master's thesis
  17. Chengdu Jinjian Finance Bureau Financial Approval System Design and Implementation
  18. Chengdu Jinpeng Company’s Human Resource Management System Design and Implementation of Master Dissertation
  19. The Design and Realization of the Financial Approval System
  20. The Design and Implementation of Member Management System for Technical Title Evaluation Committee of WeiFang City
    LiQing ·Shandong University ·2013 ·Master's thesis