Research on Object-Oriented Software Testing Technology

Author
LiuJia
Advisor
YinZhiBen
School
Southwest Jiaotong University
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
383
Citations
3

Request the full text

Abstract

Software testing is an important way to ensure software quality. The object-oriented technology brings new challenge to software testing due to its inherent characteristics. It is obvious to see that the need for using object-oriented software testing technology becomes more and more urgent with the development of applications of object-oriented technology.This thesis mainly makes research on object-oriented software testing technology. Aiming at the inherent characteristics of encapsulation, inheritance and polymorphism of object-oriented and the influence it imposes on software testing, the thesis proposes correlative testing coverage strategies about inheritance and polymorphism particularly. In this thesis, proposes three testing guide lines about the testing coverage of classes on inheritance are proposed, including complete property coverage, complete method coverage and complete subclass coverage. Other six testing guide lines are also proposed about the testing coverage of classes on polymorphism, such as composite state coverage, composite state-migration coverage, composite state coverage without circulation, composite state coverage with simple circulation, composite state coverage with non-simple circulation and fake-all-path composite state coverage. The thesis also makes axiomatic evaluations about all of the guide lines proposed and gives the correlative realizingalgorithm of the seven guide lines with a stronger practicality respectively according to the evaluation result, that is, complete property coverage, complete method coverage, complete subclass coverage, composite state-migration coverage, composite state coverage without circulation, composite state coverage with non-simple circulation and fake-all-path composite state coverage. By using the methods of graph theory, the thesis analyses and solves the algorithms of composite state coverage without circulation, composite state coverage with non-simple circulation and fake-all-path composite state coverage. Finally, the thesis realizes the algorithm and gives a conclusion through the analysis of the execution result and performance.

Table of contents

Summary 6-7 ABSTRACT 7-11 Chapter 1 Introduction 11-15 1.1 research background and significance 11 1.2 technology status major work 11-12 1.3 article 12-13 1.4 herein organization 13-15 Article Chapter 2 object -oriented software testing and technical research 15-29 2.1 software testing Overview 15-19 2.1.1 software test definition 15-16 <br / > limitations nbsp 2.1.2 software testing ; purpose 16-17 2.1.3 software testing 17-18 2.1.4 software testing process 18-19 affect 2.2 object-oriented software testing techniques affect 19-21 2.2.1 encapsulation of test 19-20 2.2.2 effects of inheritance on the test 20 2.2.3 polymorphism on tests 20-21 2.3 object-oriented test level 21 2.4 object -oriented research and testing technology class 21-27 2.4.1 Statute of class -based test 22-23 2.4.2 testing method based on the sequence of classes 23-24 2.4.3 stream-based class test 24 2.4.4 state-based class testing 24-25 2.4.5 UML-based class test 25-27 2.5 object-oriented test coverage criteria 27-28 2.6 Summary 28-29 Chapter 3 test adequacy proposed guidelines 29-49 3.1 test coverage criteria for class inheritance proposed 29-32 3.1.1 methods inherited coverage criteria 30-31 3.1.2 inherited property coverage criteria 31 3.1.3 subclass coverage criteria 31-32 3.2 proposed for the polymorphism of class test coverage criteria 32-37 3.2.1 build composite state chart 32-35 3.2.2 for polymorphic class test coverage criteria 35-37 < br /> application nbsp 3.3 test adequacy criteria ; 37-43 3.3.1 class test coverage criteria for the application of inheritance 37-40 3.3.2 for multi- application nbsp class normality test coverage criteria ; 40-43 3.4 axiomatic assessment test adequacy criteria 43-48 3.4.1 testing Standards axiomatic conclusions 43 3.4.2 for the assessment of inheritance and type of test coverage criteria analysis 43-45 3.4.3 for the assessment of polymorphism and type of test coverage criteria analysis 45-48 3.5 Summary 48-49 Chapter 4 test adequacy criteria algorithm design 49-66 4.1 class for inheritance test adequacy criteria algorithm design 49-53 4.1.1 full property coverage algorithm 50-51 4.1.2 method completely covering algorithm 51-53 < br /> 4.1.3 subclass completely covering algorithm 53 4.2 adequacy criteria for algorithm design nbsp polymorphism class test ; 53-65 4.2.1 composite state Migration covering algorithm 53-56 4.2.2 composite state without circulating path coverage algorithm 56-59 4.2.3 composite state non- simple cycle covering algorithm design 59 -65 4.2.4 composite state pseudo full path coverage algorithm 65 4.3 Summary 65-66 Chapter 5 algorithm, performance and results analysis 66-79 5.1 adequacy criteria algorithm for class inheritance and test result analysis 66-69 5.1.1 algorithm 66-67 <br / > 5.1.2 execution results and performance analysis 67-69 5.1.3 Summary 69 5.2 adequacy criteria algorithm and the results of analysis of polymorphisms class test 69-78 5.2.1 composite state migration covering algorithm 69-72 5.2.2 composite state without circulating path coverage algorithm 72-74 <br / > 5.2.3 composite state non- simple cycle covering algorithm 74-77 5.2.4 composite state pseudo full path coverage algorithm 77-78 5.3 Summary 78-79 summary and Outlook 79-81 Thanks 81-82 References 82-86 Appendix 1 DFS algorithm 86 Appendix 2 composite state without circulating path 86-87 Appendix 3 complex non- simple cycle path 87-88 Appendix 4 composite state pseudo- the full path coverage path 88-90 pursuing a master's degree theses published 90

Related dissertations

  1. Chengdu Jinjian Finance Bureau Financial Approval System Design and Implementation
  2. Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
  3. The Design and Implementation of Experiment Teaching Management System in Changshu Institute of Technology
  4. Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
    HuZuoZuo ·Hunan University ·2011 ·Master's thesis
  5. Analysis and Design of Consvmption Management System
  6. Spare Parts Catalog & Order-making System for Overseas Clients of Commercial Vehicle Company
    ShiZhiGang ·Hunan University ·2010 ·Master's thesis
  7. The Research of Simulation Technology on Battlefield Environment
  8. Study on the Techniques for Testing Client/Server Software System
    LiXiaoJiang ·Northwestern Polytechnical University ·2002 ·Doctoral dissertation
  9. Object - oriented software testing research
    YaoZuo ·Zhejiang University ·2002 ·Doctoral dissertation
  10. Study of the Theory and Techniques for Testing Object-Oriented Software
  11. Object-Oriented Class Test Research Based on UML
    HeTao ·Wuhan University ·2004 ·Master's thesis
  12. Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
    KongJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. The Design and Implementation of Website Construction Based on OpenCms Technology
  14. And the realization of software testing reuse management subsystem design
  15. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  16. Design and Implementation of Materials Management System of Multi-level Educational Institutions
    PeiZhiChao ·Northeastern University ·2013 ·Master's thesis
  17. Research on software testing technology based on complex network theory
  18. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  19. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  20. Research of Software Testing Method Based on Cloud Computing