Software testing methods and component-based applications

Author
MoWeiGuo
Advisor
HuFei
School
Northwestern Polytechnical University
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
330
Citations
5

Request the full text

Abstract

As an important part in the software engineering, software testing is the primary instrumentality to guarantee the quality and reliability of the software. The evolution of the software development technology relatively causes the development of the software testing technology. Component-Based Software Engineering (CBSE) nowadays becomes a popular method of Software Engineering. Some characteristics of component-based system make it hardly to be test by traditional way. It is in urgent to find some new testing methods to fitting for the component-based software system.Our research aims at the method of user oriented testing for component-based system. The method allows retrieving test cases from a customer’s specification and using them to validate the component’s validity. The paper presents a Framework, which is runs the test cases using a deployment mechanism to test the candidate components. The framework implements the re-use of the test cases.Our main works list as follows:1. First, the characteristics of component-based systems were discussed, and component testing technology based of UML was researched. The test strategy based on UML was given and the testability of UML state-charts was analyzed in detail.2. We use some criteria of testing coverage presented by A.J.Offutt for reference, and define the criteria of testing coverage in full parameters coverage level. The paper gives a method of automated test case generation based on the UML state-charts and OCL constraint document.3. A concept of the user oriented framework for component deployment testing is given. And a relevant model which includes generating test cases, running the test cases by deploy the components’ interface, analyzing the testing result and exporting the report forms is set up. The model can generate test cases without any real component available. It decouples the test case generation and the implements details.4. On the basis of the theories before, an integrated system for deployment testing has been completed. The testing with a FTP client software is performed to validate the system.

Table of contents

Summary 3-4 ABSTRACT 4-6 directory 6-9 first chapter 9-14 <br / > 1.1 research background 1.2 Status domestic and foreign research 9 9-11 1.3 The main work 11-12 1.4 section of this article arrangements 12-14 Chapter II component technology and component test 14-24 2.1 components and component technology 14-18 2.1.1 components definition and characteristics 14 2.1.2 the main components of current technology 14-17 2.1.3 component -based software engineering 17-18 2.2 component test related issues and technical 18-22 2.2.1 Introduction to traditional testing technology 19 2.2.2 software testing based on the characteristics of the components 19-20 2.2.3 component testing technology 20-22 2.3 Summary 22-24 Chapter III test cases based on UML state diagram generation 24-39 3.1 UML state diagrams 24-27 3.1.1 UML meaning 24 3.1.2 UML composition 24-25 < br /> 3.1.3 state diagram semantics 25-27 3.2 object Constraint Language 27-30 3.2.1 OCL Profile 27 3.2 .2 OCL constitutes 27-28 3.2.3 OCL case analysis 28-29 3.2.4 OCL extension 29-30 3.3 test Case design Guidelines adequacy issues 30-34 3.3.1 software testing 31 3.3.2 design criteria based on test specifications of 31 -34 3.4 generation standards -based parameters completely covered with cases 34-38 3.4.1 test operation sequence generation 36 3.4.2 test input data generation 36-37 operation sequence of input data and test combinations 3.4.3 test 37-38 3.5 Summary 38-39 Chapter IV scheduling component testing methods 39-49 4.1 scheduling test Overview 39-40 4.2 analog components 40-42 4.2.1 simulation class 41-42 4.2.2 contains covenants analog class design 42 4.3 XML files adaptation 42-48 4.3.1 Get real components interface 42-45 4.3.2 analog component interface differences with the candidate component interface 45-46 4.3.3 XML Introduction 46-47 <br / > 4.3.4 Creating XML document adaptation 47-48 4.4 Summary 48-49 Chapter scheduling component test system design and implementation 49 -59 5.1 core module design 49-57 5.1.1 test case generation component 49-55 5.1.2 XML parser 55 -56 5.1.3 test drive assembly 56-57 5.2 system architecture 57-58 5.3 Summary 58-59 <br / > Chapter 6 System test and Analysis 59-65 6.1 FTP client component of a test trial 59-63 6.1.1 to generate test cases 59 - 60 6.1.2 Creating XML file nbsp adaptation based on tested components ; 60-61 6.1.3 configuration test environment 61-63 6.2 data Analysis and Description 63-64 6.3 summary 64-65 Chapter VII Conclusion 65-67 7.1 summarizes 65 <br / > 7.2 problems and Prospects 65-67 Thanks 67-68 published during the master's degree and accepted papers 68-69 reference literature 69-72

Related dissertations

  1. The Research and Implementation of User-Oriented Software Component Test
    HuangXingHua ·Shanghai Jiaotong University ·2008 ·Master's thesis
  2. Design and Implementation of the XProc Processor Based on.NET
  3. Design and Implementation of the XML Document Processing System Based on Xproc
  4. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  5. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  6. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  7. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  8. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  9. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  10. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  11. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis
  12. Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
    ShenZhangBiao ·Zhejiang University ·2014 ·Master's thesis
  13. Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
    ZhaoLi ·Northeastern University ·2011 ·Master's thesis
  14. The Design and Implementation of WebDAV Service in XML Database
  15. Research of Heterogeneous Database Integration Based on Web Service and XML
    XiaMinNa ·Hunan University ·2012 ·Master's thesis
  16. Research on Encoding and Query Process Technology for Continuous Uncertain
  17. Research on XML Data Cube Based on Tree Structure
  18. XQuery Query Processor Design and Implementation
  19. Research and implementation of group production information integration management
  20. Research on XML Conceptual Model and Internal Transformation Method
    HanMuXun ·Harbin Engineering University ·2013 ·Master's thesis