Design and Implementation of the Software Automatic Testing Tool Based on Code Generation

Author
TanFei
Advisor
WuTao
School
Huazhong University of Science and Technology
Major
Software Engineering
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2010
Downloads
50
Citations
0

Request the full text

Abstract

Domestic software enterprises have gradually evolved from the previous workshop-style operation to the today’s factory-style operation. Consequently the management of software projects has become increasingly standardized. Software testing is an important part of the software engineering and an absolutely necessary link in software development. With the expansion of software scale, it becomes increasingly difficult to assure the high quality of software. The cost proportion of software testing in one project is on the rise. More and more importance has been placed on software testing and its cost, however, on the other hand, excellent testing engineers are scarce. Therefore, using automatic unit testing tools to help project team do a comprehensive test for all the system modules at an early stage will become a breakthrough for lowering the cost of testing and improving the quality.The technology of computational reflection, the technology of code generation based on templates, and the technology of code generation based on model driven are researched and analyzed. On this basis, a method that implements the automatic testing tool using the template-based code generation is proposed. The tool has the feature of versatility, scalability, ease of use and so on. On the foundation of particularly analyzed in the requirements of automatic software testing tool, the system architecture design, the user interface design, and the detailed design of all the modules have been described. The design and implementation of the code analyzer module and the code generator module are focused. The blueprint described using UML and the important source codes are given.The designed and implemented Eclipse Automatic Testing Tool can be seamlessly integrated into the mainstream development platform Eclipse. Code generator module can automatically generate the JUnit test script source codes according to the various kinds of templates, which are corresponding to the methods with return values and the ones without return values. So the Eclipse Automatic Testing Tool has good versatility. Domestic research on automatic testing is still in its infancy stage. Therefore the design and implementation of the automatic testing tool based on code generation has a high reference value on the further development of software automatic testing field.

Table of contents

Abstract 4-5 Abstract 5-8 1 Introduction 8-12 1.1 Background 8-9 <br / > 1.2 purpose and significance of research projects 9 1.3 domestic and international research profile 9-10 1.4 research projects working 10-12 2 main technical analysis 12-18 2.1 calculation reflective technology 12-14 2.2 code generation technology 14-16 2.3 design and Development Tools 16-17 2.4 Summary 17-18 3 system Analysis and Design 18-43 3.1 system Requirements Analysis 18 - 20 3.2 summary of design 20-24 3.3 user interface design 24-28 3.4 detailed design 28-42 3.5 of this chapter Summary 42-43 4 system implementation 43-58 4.1 project code structure 43-44 4.2 presentation layer to achieve 44-47 4.3 test-driven engine to achieve 47-48 4.4 metadata manipulation layer implementation 48-55 4.5 system test Analysis 55 -57 4.6 chapter Summary 57-58 5 Conclusion 58-60 Thanks 60-61 References 61-65

Related dissertations

  1. Intelligent Storage Automated Testing System Design
  2. Research and Implementation of Automatic Testing Tool for3G Data Card in Linux
  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