Task scheduling based automatic testing method and system implementation

Author
LiaoXinLiang
Advisor
ZhuDaYong
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2011
Downloads
70
Citations
0

Request the full text

Abstract

With the development of information technology, people’s awareness of software products’quality is gradually strengthening. Software testing, whose purpose is finding software’s defects and shortcomings as many as possible in the shortest time at the lowest cost, is an important way to ensure software’s quality and one important part of software development. The development of automated testing technology has greatly enhanced the efficiency of software testing, especially in the functional testing and regression testing, at the same time, it could free the testing engineer from the repeated and complex testing work, which can reduces labor costs for enterprises and reduce software development time. Software testing’s automation is a current research focus in the software sector. However, it is still in its infancy in China, therefore, automated testing technology research has very importantly theoretical and practical value.Based on the basic principles of automated testing technology, through a detailed analysis of the test tasks, focusing on an automated testing system based on task schedule, this thesis fully validated the importance of reasonable testing task scheduling for improving the testing efficiency. The main research and innovations are as follows:1) Through analyzing the organizational structure of the testing tasks, this thesis minutely analyzed the relationship between several testing tasks, the inner relationship of testing tasks, the resource dependence of testing tasks, and, with the purpose of maximizing the efficiency of automated testing, this thesis proposed corresponding task scheduling strategy of various relationships and summarized the principle of the testing task granularity;2) According to the quantity of testing topology’s case and related various types of used testing resources’state, this thesis proposed some algorithms which is used release the testing resource as fast and much as possible, and base on which the automated testing system released free resource during the testing course, thus changing the way which released resource after all the testing task, and greatly improving the utilization of testing resources and automatic testing efficiency;3) According to the attributes of resources in testing platform’s resource pool and the resource requirements of the testing topology, the proposed system could automatically allocate the necessary resources to the testing task, and give priority to retain the resources which have rich subsidiary testing resources, in which way this can meet the current demand of testing task and meet the potential demand of later submitted task, at the same time, through checking the existence of a process, the proposed system can release the resource used by the aborted process so as to improve the utilization of submitted resource.Practice has proved that in the enterprise’s application, the automated testing platform has greatly improved the software testing efficiency and lowered labor costs, and it has good usability and has achieved the original goal, has important theoretical significance and practical value.

Table of contents

Abstract 4-5 ABSTRACT 5-10 The first chapter outlines 10-15 1.1 Background and Significance 10-11 1.2 Research Overview 11-13 1.3 The main research contents and results 13 1.4 The paper is organized 13-15 Chapter automated testing technology infrastructure 15-25 2.1 Software Testing Overview 15-16 2.2 automated test 16-21 2.2.1 Automated Testing Concepts 16 2.2.2 automated testing disadvantages 16-19 2.2.3 Automated Test Conditions 19-20 2.2.4 Automated Testing for occasions 20-21 2.3 Black box testing 21-24 2.3.1 Black box testing concepts 21-22 2.3.2 Black box testing methods 22-23 2.3.3 Black box testing process 23-24 2.4 Summary 24-25 Chapter automated test system task scheduling 25-32 3.1 task scheduling based 25-28 3.1.1 Basic Concepts Scheduling 25-26 3.1.2 Task Scheduler significance 26-27 3.1.3 task granularity principle of classification 27-28 3.2 task scheduling analysis 28-31 3.2.1 External relations analysis 28-29 3.2.2 Analysis of internal relations 29-30 3.2.3 dependency analysis 30-31 3.3 Chapter Summary 31-32 Chapter requirements analysis and design 32-61 4.1 System Requirements Analysis 32-34 4.1.1 System Overview 32 4.1.2 functional requirements analysis 32-34 4.2 system framework analysis 34-35 4.3 behavior of the internal structure of the system design 35-50 4.3.1 System Design class diagram 35-36 4.3.2 task management module 36-37 4.3.3 task scheduling module 37-45 4.3.4 task execution module 45-46 4.3.5 device management module 46-48 4.3.6 Equipment voluntarily recalled module 48-49 4.3.7 Equipment validity check module 49-50 4.4 key physical specifications designed 50-60 4.4.1 key entities in the form of data organization 50-51 4.4.2 testing task specification design 51-52 4.4.3 Test TOPO specification design 52-55 4.4.4 Test Script package specification design 55-56 4.4.5 testing process design specifications 56-57 4.4.6 Test Equipment Specifications Design 57 4.4.7 Physical Device Specifications Design 57-60 4.5 Chapter Summary 60-61 Chapter V system implementation 61-77 5.1 system hardware environment 61-63 5.1.1 system running on the hardware environment 61-62 5.1.2 Test TOPO Aufbau principle 62-63 5.2 system development and software operating environment 63-64 5.3 key subroutine design 64-74 5.3.1 task scheduling module 64-69 5.3.2 task execution module 69-74 5.4 Analysis of test results 74-76 5.5 Chapter Summary 76-77 Chapter Summary and Outlook 77-79 6.1 main content summary 77 6.2 Further research 77-79 Thanks 79-80 References 80-84

Related dissertations

  1. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Analysis and Design of Automated-Testing Framework for E-Commerce System
  3. Research on Test Plan of Development&Application and Its Technical Realization
    ZhangJianFei ·Beijing Jiaotong University ·2012 ·Master's thesis
  4. Design and Implementation of Embedded Software Testing System Based Qtopa
    WuHuiJie ·Dalian Maritime University ·2012 ·Master's thesis
  5. Research on Testing Model and Automated Testing of Web Application
    ChenJiangYong ·Fujian Normal University ·2012 ·Master's thesis
  6. Design and Realization of Process Engine’s Automated Testing Based on Workflow
  7. Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
  8. The Research of Software Testing Technology and Software Component Verification
    YuanMin ·Hunan Normal University ·2008 ·Master's thesis
  9. Design and Implementation of Data Migration Automation Testing
  10. Mobile Phone Automatation Test System Based on SC660X Platform
  11. The Design and Implementation of Test Data Automated Generation
  12. REST architecture test system application software Research and Implementation
  13. Analysis and Application of Software Localization Test
  14. Research and Implement of GUI Based Auto-testing Architecture
    YangChengChuan ·Donghua University ·2008 ·Master's thesis
  15. Technology research and application of data packets Software Testing
    LiuZuo ·Northwestern Polytechnical University ·2007 ·Master's thesis
  16. Task Scheduling and Process Control of Serial Production Line Coupled with Transmission and Station
    ZhaoYue ·Shenyang University ·2013 ·Master's thesis
  17. Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
    LiuWenJuan ·Hebei University of Engineering ·2013 ·Master's thesis
  18. Research on Task Scheduling and Communication Mechanisms Based on RTEMS
    LiuJianDong ·Harbin Engineering University ·2013 ·Master's thesis
  19. Random Task-oriented User Utility Optimization Model in the Cloud Environment
    ZhuMin ·Hunan University ·2013 ·Master's thesis
  20. Design and Implementation of Crawler Subsystem of Alipay Merchant Risk Monitoring System
    QianXuanTong ·Harbin Institute of Technology ·2012 ·Master's thesis