Research on Object-oriented Software Testing
- Author
- ZhangLei
- Advisor
- ChengJiaXing
- School
- Anhui University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 532
- Citations
- 7
Abstract
As an important method to either ensure the quantity and the survive period or enhancethe reliability of software, software testing is a necessary part of software development. Withthe progress of modem object-oriented software engineering, object-oriented software testingshows its importance more and more. Because of the new features of object-oriented softwaredevelopment, object-oriented software testing has more difficulties than traditional softwaretesting.(?)In this paperⅠintroduce software testing, including definitions, procedures andmethods, and the theoris on software testing automation And then in the paperⅠanalyse the goals and the sortations of traditional software testing and unit testing,integration testing, confirm testing and system testing. As the foundation of softwaretesting, unit testing has very important meaning.(?)In this paperⅠembody the influence of object-oriented specialties to software testing,such as encapsulation, inheritance, polymorphism and dynamic binding. Through theanalysis,Ⅰgive out the common method for object-oriented software testing.Ⅰemphasizes the functionality testing and construct testing of classes in object-oriented method, and further more, the data flow testing of class. In this paperⅠdetailed explains the testing progression and method of different levels class testingwith a representative class.(?)In this paperⅠdesigns testing methods for object-oriented Java language, includingthe structure and testing pattern. According to its structure, common principles andprogressions for unit testing are concluded. In the dynamic test, if we know the testedsoftware’s concrete content, the test driver is easy to be built. But the black boxtesting is more complex since it needs to record the function and replay it. So we usethe Java language testing tool Junit since it’s an easily use, flexible, open sourcetesting platform. We can reduce bugs by Junit automatic testing without yourinterfere. Besides, Junit is easy to integrated with compiler and IDE unit.In this paperⅠillustrates the unit testing of an actually Java program. The testing process and finalresults are given out to demonstrate the usage of Junit. It is somehow directive toJava program software testing.The contents we research include software testing theories and practical experience.Ⅰbelieve it’s helpful to expand Junit frame in software testing and unit testing automatizationresearching.
Table of contents
Abstract 3-4
ABSTRACT 4-5
directory 5-8
Chapter 1 Introduction 8-12
1.1 Introduction to Software Testing 8-9
1.2 software test development REVIEW 9-10
the direction of development of the 1.3 software testing
1.4 of this paper mainly work 10-12
Chapter 2 traditional software testing 12-25
2.1 software testing target 12
2.2 static test 12-13
2.3 Dynamic test 13-17
2.3.1 black box testing 14-15
2.3.2 white-box testing 15-16
2.3.3 black box testing and white box testing 16
2.3.4 Data flow testing techniques 16-17
2.4 software testing steps 17-21
2.4.1 unit test 18-20
2.4.2 Integration Testing 20-21
2.5 confirmation test 21-24
2.6 This chapter Summary 24-25
Chapter 3 of object-oriented software engineering 25-34
3.1 the basic concepts of object-oriented 25-29
3.2 object-oriented software testing methods 29
3.3 object-oriented technology on software testing 29-32
3.3.1 package 30
3.3.2 inherited 30-31
3.3.3 polymorphic 31-32
the
the 3.4 testing object-oriented software any different 32-33
3.5 This chapter Summary 33-34
Chapter 4 of object-oriented software testing techniques 34-46
4.1 class functional testing and structural testing 34-35
4.1.1 functional testing 34-35
4.1.2 structural test 35
4.2 object-oriented software testing based on object - state transition diagram 35-37
4.3 class data flow test 37-44
4.3.1 Data flow analysis 37-38
4.3.2 class and class test 38-42
4.3.3 Data flow testing 42-43
4.3.4 calculated data flow information 43-44
4.4 This chapter Summary 44-46
5 JUNIT testing database instance analysis 46-65
5.1 JUNIT Overview 46-51
5.1.1 Junit structure 47-49
5.1.2 Design Patterns 49-51
5.2 JUNIT test design principles 51-54
5.2.1 unit test preparation principle 51
5.2.2 determine the unit test 51-53
5.2.3 write unit tests 53-54
5.3 Introduction to the measured object 54-61
5.3.1 testing requirements analysis 56-58
5.3.2 measured object key code 58-61
5.4 Junit testing process 61-64
5.4.1 testing process architecture 61-62
a 5.4.2 test code and its result analysis 62-64
5.5 This chapter Summary 64-65
Chapter 6 Conclusion 65-67
6.1 thesis work and conclusions 65
6.2 Further work and outlook 65-67
the
References 67-70
the
studying for master's degree during the academic catalog 70-72
studying for a master's degree during participation in the research projects 72-73
Acknowledgements 73
Related dissertations
- Research of Automatic Unit Testing Framework for J2EE Application
- Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
- Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- The Research and Application in the Unit Testing by Using JUnit Framework
- Study on the Techniques for Testing Client/Server Software System
- Object - oriented software testing research
- Study of the Theory and Techniques for Testing Object-Oriented Software
- Execution of GPS Navigation Software Testing Based on VSTS
- Research and Application of Software Unit Test
- Object-oriented software testing techniques
- Security testing techniques based on the specifications of the components
- Research and Application of Unit Testing for J2EE Components Based on Combined Frameworks
- Research and Implement on Eclipse Plug-In Automation Testing
- Research on the Scheme for Testing Object-Oriented Software
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Design and Implementation of Materials Management System of Multi-level Educational Institutions