Research on the Method of Generating Test Cases at Cluster Level Based on CHAM

Author
ZhaoLiang
Advisor
YeJunMin
School
Central China Normal University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2005
Downloads
66
Citations
2

Request the full text

Abstract

The object-oriented technology is used extensively by the programmer with its unique superiority , which makes software development process simplify, system modularize, and reuse degree raise etc., and has brought very bright future to software industrial, but the object-oriented is different from the general structural program, it has the characteristics of encapsulation, inherits and polymorphism and etc., these characteristics make software testing more difficult.Cluster level testing focuses on testing the interactions of different classes in a cluster. Studying current situation , the study of class level testing is much more than that of cluster testing . Currently , there are many cluster testing methods, including state-based testing , dataflow-based testing, formalized specifications-based testing, and etc.In this paper, the method of how to generate the 00 cluster testing cases based on CHAM(chemical abstract machine) is put forward. The method combines the CHAM and LTS (labelled transition system) together , because the CHAM has better ability to describe the interaction of different classes, and the LTS is equally a good behavioral description tool .In this text there are three steps to generate the test cases .The cluster must be described with CHAM at first; Secondly derive out the corresponding LTS according to this specifications ; Finally on the basis of LTS and the route of McCabe test theory to generate the cluster test cases , namely message passing sequences.Base on the above study , the author describe each step and algorithm of the method through one instance. In the end , an automatic support tool design idea is discussed to support the method , which is very helpful to realize the method .

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-15 1.1 research background and significance 9 1.2 object-oriented method of cluster -level testing research 9-11 1.2.1 cluster based on the state -level testing 10 1.2.2 event-based cluster -level testing 10 1.2.3 clusters based on formal specification level test 10-11 1.2.4 other integration testing method 11 <br / > 1.3 analysis 11-12 1.4 the research objectives and content 12-13 1.4.1 research objectives 12 1.4. two research 12-13 1.5 thesis is organized 13-15 second chapter describes the classes based CHAM cluster level test basis 15-23 < br /> 2.1 cluster -level testing of object-oriented class 15-18 2.1.1 object-oriented features and the impact on the test 15-16 2.1.2 object-Oriented software testing strategy 16-17 2.1.3 definition of clusters 17 2.1.4 test object 17-18 2.2 based CHAM class cluster level test basis 18-23 2.2.1 chemical abstract Machine CHAM 18-20 2.2.1.1 CHAM chemical abstract machine concept 18 < br /> 2.2.1.2 CHAM formal grammar 18-19 2.2.1.3 CHAM formal semantics 19 2.2.1.4 CHAM rules in response 19 -20 2.2.1.5 with CHAM to describe software architecture 20 2.2.2 labeled transition system LTS 20-21 2.2.3 test cases generated by the LTS 21-23 2.2.3.1 annular complexity 21 2.2.3.2 THOMAS J.McCabe basic path testing methods 21-23 third chapter is based on test case generation algorithm described CHAM 23-28 3.1 CHAM description 23 3.2 from CHAM Description Export LTS 23-26 3.2 .1 reaction rule classification 24 3.2.2 LTS generation algorithm 24-26 3.2.2.1 related definitions 24-25 3.2. 2.2 LTS generation algorithm 25-26 3.3 LTS generate test cases from 26-28 Chapter Case Study: producer - consumer issues 28 - 39 4.1 with CHAM right \Specifications 29-30 4.1.3 definition of the initial solution 30 4.1.4 reaction rules 30-32 4.2 CHAM described by the exporting LTS 32-36 4.2.1 system dynamic behavior simulation 32-35 4.2.2 Description derived from CHAM LTS 35-36 4.3 according LTS generate test paths 36-39 chapter describes the class clusters based CHAM level test generation tools are designed 39-44 5.1 CHAM -based object-oriented description cluster -level test generation system CCTS 39-42 5.1.1 CCTS functions and features 39-40 5.1.2 CCTS constitution 40-42 5.2 example test execution principle 42-44 Chapter VI Conclusion and Outlook 44-46 References 46-50 <br / > master's degree papers published during 50-51 Appendix : producer - consumer issues dynamic behavior simulation 51-56 Thanks 56

Related dissertations

  1. Research on Web Service Testing Model and Testing Approach Based on Agent
    LiuShengLan ·Hunan University ·2011 ·Master's thesis
  2. Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
  3. The Research and Design of Test Case Generation Tool Based on Constraint Programming
  4. Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
    HuZuoZuo ·Hunan University ·2011 ·Master's thesis
  5. Research on Software Test Module of Lead-free Solder Paste Printed Equipment
  6. Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
  7. Testing for Selecting Atm Equipments Based on Event-Driven
  8. N3806Mobile Phone Black Box Testing Management and Method
  9. Nuclear power software testing research based on local continuity
    LiuLiNa ·Nanhua University ·2013 ·Master's thesis
  10. Test Case Generation and Management
  11. Website Design and Implementation of Mobile Phone Sales
  12. The Design and Implementation of Software Testing Architecture of Wireless Sensor Networks
  13. Research on Analysis and Testing Techniques of Object-Oriented Programs
  14. Research and Implementation of Testing Techniques for UML
  15. Study on the Techniques for Testing Client/Server Software System
    LiXiaoJiang ·Northwestern Polytechnical University ·2002 ·Doctoral dissertation
  16. Object - oriented software testing research
    YaoZuo ·Zhejiang University ·2002 ·Doctoral dissertation
  17. Study of the Theory and Techniques for Testing Object-Oriented Software
  18. Reuse Strategy and Its Implementation on Software Testing and Evaluation
    XiaQiMing ·Wuhan University ·2010 ·Doctoral dissertation
  19. Research on Some Key Technology of Software Testing Reuse Based on Formal Method
    CaiLiZhi ·Shanghai University ·2009 ·Doctoral dissertation
  20. Key Technology Research service grid environment scenario testing
    LiuZhenYu ·Fudan University ·2010 ·Doctoral dissertation