Research on the Scheme for Testing Object-Oriented Software

Author
LiuZuo
Advisor
ShiYueXiang
School
Xiangtan University
Major
Computer technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
261
Citations
0

Request the full text

Abstract

After 1990s, the object-oriented Paradigm has been attracting attention from the industry and research office. Software testing is an important approach for the guarantee of software quality. The rapid development of object-oriented technology has made it an urgent affair for the development of object-oriented software testing tools.In the research of the scheme for object-oriented software testing, according to the problem of how to generate testing cases, this paper present a method of generating testing cases which based on UML model. This method used UML state machine diagram to provide information for generating testing cases. The characteristic of this method is based on UML entirely and generated less testing cases in order to be convenient for automatization. Through convert the UML state machine diagram to a testing tree, the author present a new sufficiency metric named complete transition path coverage based on other metrics. The path from the head node to a leafage node of the testing tree denotes a state transition path. Each path means a testing case. After the depth first of the testing tree, we can obtain all testing cases which satisfy the sufficiency metric of complete transition path coverage.Based on the compare and analysis of three scheme for testing driver, we have designed an opening testing driver which is convenient for object-oriented software is easy to multiplexing the testing code. Meantime, different kinds can be add to the testing driver in order to satisfy to the division of different testing types. Finally we run the testing cases with this driver and have obtained a good effect.The primary objective of this paper is to design scheme for testing object-oriented software, and ground it on the development of object-oriented testing tool in the future.

Table of contents

Abstract 4-5 ABSTRACT 5-9 first chapter 9-13 1.1 research background and significance 9 1.2 research status 9-11 1.3 research purpose 11 1.4 the main research topics 11-13 Chapter traditional software testing 13-26 2.1 software testing basic concepts 13 2.2 traditional software testing methods 13-18 2.2.1 static tests 13-14 2.2.2 dynamic test 14-17 2.2.3 data Flow Testing 17-18 2.3 software testing strategies 18-24 2.3.1 V model 18-20 2.3.2 unit test 20-21 2.3.3 integration test 21-23 2.3.4 validation testing 23-24 2.3.5 system test 24 2.4 software testing research focus 24-25 2.5 Chapter Summary 25-26 Chapter characteristics and object-oriented software testing strategy 26-41 3.1 object-Oriented basic concepts 26-30 3.1.1 object 26 3.1.2 class 26-27 3.1.3 inherited 27 -28 3.1.4 message 28 3.1.5 Interface 28-30 3.2 features of object-oriented software testing strategy for its impact 30-32 3.2.1 unit 30 3.2.2 package 30-31 3.2.3 inherited 31 3.2. 4 polymorphism 31 3.2.5 message-based communication 31-32 3.3 testing object-Oriented Software particularity 32-33 3.4 object-oriented test model 33-36 3.4.1 object-oriented analysis of the test 34-35 3.4.2 object-oriented design of the test 35 <br / > 3.4.3 testing object-oriented programming 35-36 3.5 object-oriented software testing strategy 36-40 3.5.1 object-oriented unit testing 36-37 3.5.2 object-oriented integration testing 37-39 3.5.3 object-oriented system testing 39-40 3.6 Summary 40-41 Chapter class of object-oriented software testing methods 41-55 4.1 the methods of the class as a unit testing techniques 41-45 <br / > 4.1.1 based on preconditions and postconditions class test 41-43 4.1.2 build test cases based on state transition diagram 43-45 4.2 UML-based the type of test 45-52 4.2.1 UML-based state machine diagram generated test cases 46-49 4.2.2 UML-based state machine diagram of test coverage criteria 49-52 4.3 other class test methods 52-54 4.4 Summary 54-55 Chapter instance of an object-oriented testing program design 55-68 5.1 test driver design 55-60 5.1.1 comparison of three test drivers 55-57 5.1.2 separate test class design 57-60 5.2 class test System Design 60-66 5.2.1 based on preconditions and postconditions test run 62-63 5.2.2 UML state machine diagram based on the sequence of test cases run 63-66 5.3 chapter Summary 66-68 Chapter Summary and Outlook 68-70 6.1 topics summarize 68-69 6.2 research Prospects 69-70 References 70-73 Appendix 73-79 Thanks 79-80 pursue a degree during the main research results 80

Related dissertations

  1. Research on Object-oriented Software Testing
    ZhangLei ·Anhui University ·2007 ·Master's thesis
  2. Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
  3. Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
    HuZuoZuo ·Hunan University ·2011 ·Master's thesis
  4. Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
  5. Study on the Techniques for Testing Client/Server Software System
    LiXiaoJiang ·Northwestern Polytechnical University ·2002 ·Doctoral dissertation
  6. Object - oriented software testing research
    YaoZuo ·Zhejiang University ·2002 ·Doctoral dissertation
  7. Study of the Theory and Techniques for Testing Object-Oriented Software
  8. Execution of GPS Navigation Software Testing Based on VSTS
  9. Research and Application of Software Unit Test
    FengLi ·Central China Normal University ·2008 ·Master's thesis
  10. Research of Automatic Unit Testing Framework for J2EE Application
  11. Object-oriented software testing techniques
  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