Research of Automated Testing Techniques for Safety-critical Software
- Author
- GaoZuoYao
- Advisor
- LvXuDong , ChenXiangXian
- School
- Zhejiang University
- Major
- Biomedical Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 54
- Citations
- 0
Abstract
Safety-critical software usually refers to the software that used in the medical area, railway transportation, aerospace and other fields. This kind of software always has a complex structure and a high level of quality requirement. The malfunction of the software may lead to disastrous consequences. So it is necessary to go through enough tests of the software to avoid accidents. However, manual testing will waste too much time and money. Thus, the research of automated testing of safety-critical software would be of great significance.Unlike conventional software, safety-critical software is not only a huge system, but also has special requirements for security and reliability. Therefore, appropriate methods of automated testing will improve the efficiency of the software testing as well as the security of the safety-critical software. However, due to the complexity of safety-critical software, most automated testing methods are not applicable to this kind of software. And some research achievements in this area are too complex for practical application. Therefore, this article researches the technology on automated test case generation and executing of safety-critical software.First of all. currently popular methods of software testing are discussed in two aspects: automated test case generation and automated test case executing. The advantages and disadvantages of these methods are analyzed. According to the SpecTRM toolset, user-defined syntax rules for software specification is especially introduced and developed in this article. Date-driven automation test framework is adopted to accomplish the whole automated testing process.Then, a method of rewriting software specification is proposed. This method, which is based on the state-machine model, has simple syntax rules familiar with Chinese grammar. Thus enables people to understand and use this method easily without having to learn too much extra mathematics knowledge. Focused on the special requirements of safety-critical software on reliability and safety, a theory of state mutation is discussed in the paper to generate test cases with fault logic as many as possible. Because of the complexity of the safety-critical software, data and logic of the test case are separated. After the test logic is automatically generated, data configuration will be executed to generate the test case sets. At last, taking the ATS subsystem in CBTC as an example, this article develops a set of tools to automatically test the programming code and user interface. The coverage rate can reach as much as90%. The tool set can also evaluate the safety of the ATS subsystem properly. In addition, a three-dimensional visual and interactive system is developed to satisfy the requirements of real-time display and testing of the system, which will obviously reduce the dependence on real environment when testing the software and save money.
Table of contents
Thanks 4-5
Summary 5-6
Abstract 6-8
directory 8-11
1. Introduction 11-16
1.1 research background domestic and foreign research status quo 1.2 11-12
12-14
1.2.1 automatic test Case generation technology research 12-13
1.2.2 automated testing framework technology research 13-14
Research Status 1.2.3 automated testing techniques in the field of rail transportation 14
1.3 thesis main content 14-16
2 summary of test automation technology and explore . 16-27
2.1 software testing theory outlined 16-18
2.1.1 software defects defined basic approach 16
2.1.2 software testing 16-18
2.2 automatic test case generation technology 18-24
2.2.1 formal language -based automatic test case generation technology 18-20
2.2.2 model-based automatic test case generation technology 20-21
2.2.3 custom syntax rules -based automatic test case generation technology 21-23
2.2.4 Summary 23-24
2.3 automated testing framework technology 24-25
2.3.1 scripting technology 24-25
2.3.2 framework technology 25
2.3.3 Summary 25
2.4 existing automated testing tool for analyzing 25-26
2.5 Summary 26-27
3 automation technology research and testing safety critical software . 27-45
3.1 automatic test case generation 27-39
3.1.1 test consisting of standard 28-29
3.1.2 Example templates and syntax designed 29-31
3.1.3 logic generates 31-33
3.1.4 test logic derived 33-36
3.1.5 data Configuration 36-39
3.2 automated testing framework 39-44
3.2.1 interface function to bind 39-40
3.2.2 UI test automation design 40-41
3.2.3 use Case actuator design 41-42
3.2.4 report Generation 42-44
3.3 Summary 44-45
4 ATS system design and implementation of automated testing and display platform . 45-69
4.1 ATS system requirements analysis 45-48
4.1. 1 ATS Introduction 45-46
4.1.2 ATS system function test category 46-48
4.2 automated test software design 48-54 <br / > 4.2.1 MVVM model -based software framework designed 49-51
4.2.2 UI test automation support 51-52
4.2.3 test automation software architecture 52-54
4.3 automated testing software 54-58
4.4 display OpenGL-based three-dimensional visual interface 58-68
4.4.1 development Tools select 58-59
realize 4.4.2 and interactive three-dimensional display system design and implementation 59-62
4.4.3 three-dimensional display interface 62-66
4.4.4 the results show 66-68
4.5 summary . 68-69
5 working summary and Outlook 69-71 <br / > 5.1 thesis summary 69
5.2 Prospect 69-71
References 71-76
Author Biography 76
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
- Research and exploration in tension between reality and virtual hologram image in public art
- 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
- Obstacle Avoidance for Autonomous Vehicle Driving on Highways Based on MPC
- Research on Collision Avoidance and Path Planning for Multiple Mobile Robots
- Design and Implementation of Shanghai Normal University Lmmersive Virtual Learning System Based Quest3D
- 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