Research and Implementation of the platform automated testing system
- Author
- ChengQiXu
- Advisor
- ChenWenYu
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 100
- Citations
- 0
Abstract
Software can’t be used effectively without help of testing technology, which, such as unit test, integration test, system test, white box test, black box test and so on could improve software’s quality in different aspects. The most popular in software testing technology is Automated Testing that release testing worker and software developer from repeating working, so that they could spend energy on more creative working.In the actual work of product research, the trend of platform occurs in lots of company. The so called platform, namely programmers carry out the secondary development through a level of hardware or software independent from business.The plateform is not a product, but a set of drivers, low level API (include user mode API and kernel mode API), so compared to product testing, platform testig is very different. The process of platform testing is very complicated including hard coding, compiling the source and run the application, so it make sense to explore Automated Testing System for Platform.A uniform interface for all API call which can return the correct value is the most preferred to implement Automated Testing System for Platform. This uniform Interface is important to build the system. An agent would be injected to the system under test, which provides the interface. And C is not an OO programming language so that it is hard to serialize an deserialize any C data.An AW (Action Word) auto creating tool is developed to create AW automatically for every target API by grammar analysis on platform’s header files that could gain the prototype of a funcition include the arguments’type, return type, and the function name. It would help test engineers to write test script easier and more efficient.The utilization of Automated Testing System for Platform would improve efficiency greatly, help to reduce the period of product exploring and testing, and improve product quality effectively.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter Introduction 9-13
the
a 1.1 research purposes and significance 9-10
1.2 topics related technologies Research 10-11
1.3 major research 11
1.4 In this paper, the organizational arrangements 11-13
Technical Overview 13-19
2.1 program the machine-level representation 13-15
2.1.1 underlying expression 13-14
2.1.2 x86 assembler instruction Introduction 14-15
2.2 data sequence deserialization 15-16
2.3 automated test 16-18
2.4 compiler theory lexical analysis and parsing 18
2.5 Summary 18-19
the
needs analysis and outline design 19-25
3.1 needs analysis 19-21
3.1.1 Task Overview 19
3.1.2 traditional API testing methods 19-20
3.1.3 Functional Requirements 20-21
3.2 Summary of design 21-24
the 3.2.1 test end of the separation and the measured end 22-23
the
a 3.2.2 kernel mode and user-state separation 23
3.2.3 of each module description 23-24
3.3 Summary 24-25
Design and Implementation of
end of the system under test 25-46
the
the 4.1 function dynamically calling module design and realization 25-37
4.1.1 C language limitations and solutions 25-26
4.1.2 C function machine level representation 26-27
4.1.3 C function dynamically call design 27-32
the 4.1.4 C function called dynamically achieve 32-37
4.2 XML parsing module design and implementation 37-44
the data type
4.2.1 XMLHandler Description 37-40
4.2.2 of the functions defined in XML format 40-44
4.3 Netlink module design 44-45
4.4 Summary 45-46
Design and Implementation of test side
Chapter 46-64
5.1 generic automated testing platform for the design and realization 46-61
5.1.1 design principles 46-47
5.1.2 design goals 47
5.1.3 platform overall design 47-48
5.1.4 automated use case development, execution flow 48-49
5.1.5 center control module 49-50
the 5.1.6 test scripts structure design 50-54
5.1.7 use case structure automatically generate tools 54-59
5.1.8 platform public library 59-61
5.2 AW automatic generation tool designed to achieve 61-63
5.2.1 AW automatic generation tool design 62
5.2.2 C language lexical analysis 62-63
5.3 Summary 63-64
Chapter VI Conclusion 64-66
6.1 paper summarizes 64-
6.2 further work 64-66
Acknowledgements 66-67
the
References 67-69
research results achieved during the study period 69-70
Related dissertations
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Design and Realization of Test Equipment for a Data Record Device
- Design and implementation of monitoring tool Linux system and its automation test based on
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Research and Implementation of an Automatic Embedded Test Platform
- Design and Implementation of Automated Financial Data Validation Tool for Financial Information Service Industry
- The Design and Implementation of Autotest
- The Design and Implementation of Automated Testing System of Itis on Mac OS
- Research on Test Plan of Development&Application and Its Technical Realization
- Design and Implementation of Embedded Software Testing System Based Qtopa
- Design and Implementation of Testing Tools for DBMS Based on TETware
- Research on Testing Model and Automated Testing of Web Application
- Design and Realization of Process Engine’s Automated Testing Based on Workflow
- Design and Implementation of Conductor-an Automated Testing Tool
- The Design and Realization of China Unicom IT Software Automatically Tests
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- Research on Application of automatic test case generation based on Improved Genetic Algorithm