Research on Static Analyzing and Configuration Architecture for Component-Based Software Testing
- Author
- CaoJinYang
- Advisor
- ZhangYiKun
- School
- Xi'an University of Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 165
- Citations
- 1
Abstract
The rapid development for component-based software technology has caused great changes to software testing and made the component-based software testing a popular field. Because of some special characteristics, component-based software integration test has many differences with the traditional software integration test .These characteristics include source code invisible, unable to apply white-box test techniques to test the system composition unit carries on full test. Regarding these questions, the current domestic and foreign research organization has already done the massive research work, and advanced the lots of test theories and the test methods. But some theories and methods related to specific component development standard, thus does not have the universality, some theories and the methods is complex to realize, so has not formed the field standard. For example, BIT method, based on behavior protocol to confirm component behavior methods and so on. Therefore the field needs one kind which has the universality and easy realization to satisfy the test request for the component software integration testing tool.The component software integration test may divide into the static analysis and the dynamic test. However, the existing static analysis or the testing tools are mainly object-oriented or the structured software system. These testing tools are unable to provide the intermediate result information of static analysis or to provide very standard useful intermediate result information, and thus can’t obtain the test information needed in dynamic test. This paper uses the reflection mechanism to expand the traditional software static state analysis method, can automatically withdraw the third party component test information through the reflection mechanism which the source code can’t be known, and uses XML for serialization, and presents the interaction relations between the components by using component interaction graph. then further research the configuration architecture based on result of static analysis to achieve configurable component software integration test, and make the document machine readable, and when the test case and the test strategy changes does not need to change the test code, but through changes the XML documents content to be able to achieve the goal.Moreover, based on the method of this paper, a static state testing tool was implemented to prove our theory. This tool has three parts: Test input, source code analysis processing, test output. Source code analysis processing is the most important part, first uses the regular expression pattern matching to lexical analyzing the code which is visible, then uses reflection module to carry on the reflection to reflect the DLL and withdraw the test essential factor, last gives analysis result.
Table of contents
Abstract 3-4
Abstract 4-8
1 Introduction 8-12
1.1 Background and Significance topics 8-9 < br /> 1.2 research status 9-10
1.3 this article aims and main research work 10-12
2 member and component Testing technology Overview 12 -20
2.1 software component technology 12-15
2.1.1 component conceptual 12-13
2.1.2 component-based development and the difference between object-oriented programming 13
2.1.3 mainstream component specification 13-14
2.1.4 COTS component -based software development process 14-15
2.2 component software Testing 15-19
2.2.1 component-based software testing and software testing traditional distinction 16-17
2.2.2 component Testing elements 17
2.2.3 component test methods 17-19
2.2.3.1 improve component testability 17-18
2.2.3.2 non- formal component testing 18-19
2.2.3.3 formal component testing methods 19
2.3 Summary 19-20
3 component-based software static analysis Overview 20-30
3.1 static analysis techniques 20
3.2 static analysis of component-based software related technical 20-29
3.2.1 reflex mechanism outlined 21-22
3.2.1.1 reflection defined 21
3.2.1.2 reflective layer model 21-22
3.2.2 regex 22-24
3.2.2.1 System.Text.RegularExpressions namespace 22-23
3.2.2.2 regular expression syntax 23-24
3.2.3 XML-based storage and configuration 24-28
3.2.3.1 XML document structure 24-25
3.2.3.2 DTD and XML Schema 25-26 < br /> 3.2.3.3 XML data 26-27
3.2.3.4 XML in the application of static analysis component 27-28
3.2.4 graphical display based GRAPHVIZ 28-29
3.3 Summary 29-30
4 component-based software static analysis tool to achieve 30-47
4.1 overall system design 30-35
4.1.1 test input 31
4.1.2 source code analysis and processing 31-35
4.1.3 test output 35
4.2 static analyzer to achieve 35-41
4.2.1 code analysis module 35-38
4.2.2 reflex module 38 <br / > 4.2.3 component reflection process 38-39
4.2.4 XML conversion process with DOT 39-41
4.3 static analysis Example 41-46
4.4 Summary 46-47
5 component-based software test configuration system 47-55
5.1 configuration contract 47-48
5.2 component test sequence configuration 48-49
5.3 test environment configuration 49-50
5.4 configuration test results 50
5.5 configuration examples 50-53
5.6 Summary 53-55
6 Summary and Outlook 55-57
Thanks 57-58
References 58-61
papers published during the school 61
Related dissertations
- Design and Development of a High-speed Heavy-load Palletizing Robot
- The Design and Analysis of Octahedral Module Deployable Mast
- Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
- Research on the Network Control Andkey Components in the Time-Triggered Ethernet
- Research of Ontology-based Component Description and Intelligent Retrieval
- Application Research on the Kernel Fisher Method and Its Component in Image Recognition
- Compiler-directed Static Analysis and Code Transformation
- Static Security Detection of C Applications
- The Design and Implementation of Information Dissemination Terminal Module Component Based
- Research on facet reusable component library based on
- Development and Application of Component Based on JSF2and HTML5
- The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
- Research of Component Supported Digital Media Middleware Technology
- On the Component of the Crime of Concealing or Disguising Criminal Gains and Relationship with the Upstream Crime
- Morphology of Aircraft and in Sculpture Sci-Fi Art
- Study on Chinese Characters in Chinese Characters a Systematic Approach
- The Research on Component, Function and in Vitro Culture of Hemocytes from the Mitten Crab, Eriochier sinensis
- The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
- Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
- Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station