Mutation Test Applied to Object-Oriented Programming

Author
LuYiMing
Advisor
HuFei
School
Shanghai Jiaotong University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
126
Citations
0

Request the full text

Abstract

Software testing is an important technical means to ensure the quality of the product in the software engineering . Variability test is a measure of test suite completeness of the test strategy can also be used to generate a complete set of test cases . Traditional mutation testing role in the program's source code . In this paper, a the variability test system based on algebraic specifications , and on the Java platform realization . Algebraic specifications are widely used to describe the demand for object-oriented programming , the paper system therefore mutation testing in the field of object-oriented first attempt . The main contents of this paper and the results are as follows : 1 ) In accordance with the characteristics of algebraic specifications , abstract 12 mutation operator as the variation of core modules in the system . 2 ) modeled on the FTC algorithm module designed a system to automatically generate test cases . 3) the use of the phrase override technology, design variant mutation test kill method . 4 ) the use of the Java reflection mechanism to test Java source code using algebraic equations . 5) test five different algebraic specifications , to verify the correctness and validity of the design method . This variability test system compared to traditional mutation testing system , a significant improvement in terms of test efficiency ; slightly less than in test completeness , but similar . Of this study is based on the algebraic specifications mutation test method , in order to solve the traditional mutation test variant collection is too large, the test efficiency is low enough , there is provided an effective method of application value .

Table of contents

Summary 5-7 ABSTRACT 7-14 first chapter 14-19 1.1 Introduction 14-16 1.2 goals 16-17 1.3 chapters arranged 17-18 1.4 Chapter Summary 18-19 second study describes 19-35 2.1 mutation testing the 19-29 2.1.1 basic concepts 19-21 the 2.1.2 testing efficiency 21-22 2.1.3 strong variation, a solid variation and weak variation 22-23 2.1.4 the selective variation generate 23-26 2.1.5 test cases 26 2.1.6 equivalent variants 26-27 the the 2.1.7 mutation testing applications 27-29 2.2 algebraic specifications 29-34 2.2.1 basic concepts 29-31 2.2.2 related applications 31-34 2.3 Chapter Summary 34-35 Chapter algebraic specifications based the variation test system design 35-51 3.1 overall system design 35-36 3.2 variation operator of Design the 36-45 the 3.2.1 mutation operation character AXD 37 the 3.2.2 mutation operation breaks the ACD 37-38 3.2.3 variability of the operator CVR 38 3.2.4 variation operator VCR the 38-39 3.2.5 variation operator the AOD 39-40 3.2. the 6 variation operator the AOR 40 3.2.7 Variability operator ROR 40-41 the the 3.2.8 mutation operation symbol OFD 41-42 3.2.9 Mutation operator CFR the 42-43 3.2.10 variation operator the TFD 43 3.2.11 variance operator TFS 43-44 3.2.12 mutation operator FNR 44-45 3.3 to generate test cases and module design 45-48 3.4 test the source module design 48 kill the design variants module -49 3.5 49-50 3.6 Chapter Summary 50-51 Chapter the variability test system based on algebraic specifications. achieve points the 51-62 4.1 algebraic specifications of abstract the 51-54 4.2 variation of the core module of the algorithm to achieve 54-59 4.2.1 The AXD operator algorithm 54-55 4.2.2 ACD operator algorithms 55 4.2.3 CVR operator algorithm 55 < br /> 4.2.4 VCR operator algorithms the 55-56 4.2.5 AOD operator of the algorithm 56 4.2.6 AOR operator algorithm to achieve the 56-57 4.2.7 ROR operator algorithms , 57 4.2.8 OFD operator algorithm 57 4.2.9 the CFR operator algorithm 57-58 4.2.10 TFD operator algorithm 58 4.2.11 TFS operator algorithm 58 < br /> 4.2.12 FNR operator algorithms 58-59 4.3 module to generate test cases algorithm 59-60 4.4 test source module algorithm to kill 60-61 4.5 the variant module algorithm to achieve 61 4.6 Chapter Summary the 61-62 Chapter experiment results and analysis 62-70 5.1 subjects introduced the 62-64 5.2 based on the experimental results of the test system of algebraic specifications variation 64-65 5.3 MuJava experimental 65-67 5.3 results 67-68 5.4 Chapter Summary nbsp 68-70 Chapter Summary and Outlook ; 70-72 6.1 Full Summary 70-71 6.2 Future work 71-72 Ref. 72-76 <br / > Acknowledgements 76-77 studying for a master's degree during the academic 77

Related dissertations

  1. Improvement and Application of Artificial Bee Colony Algorithm
    YangDan ·Anhui University ·2014 ·Master's thesis
  2. Research and Application of Multi-modal Medical Image Registration Algorithm
  3. And the realization of software testing reuse management subsystem design
  4. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  5. Research on software testing technology based on complex network theory
  6. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  7. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  8. Research of Software Testing Method Based on Cloud Computing
  9. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  10. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  11. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  12. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  13. The Design and Implementation of Banking Software Testing Based on Bugfree
  14. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  15. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  16. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  17. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
  18. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  19. Software Reliability Oriented Performance Test Model Research and Application
  20. The Study and Realization of the Android Tablet Stability Automated Test
    ZhouYing ·Central China Normal University ·2014 ·Master's thesis