A Study of Concurrent Program Testing Method Based on Event Sequencing Constraints
- Author
- WangJing
- Advisor
- LuYanSheng
- School
- Huazhong University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 62
- Citations
- 1
Abstract
With the rapid development of computer and network technology, parallel and concurrent computation has been applied more and more widely. Due to synchronism and communication, the execution of concurrent program is non-deterministic, and concurrent program testing becomes much more difficult than before. Some of the traditional testing methods and theories of sequential programs are not applicable in concurrent program testing. Many problems have not been solved and no complete systems exist.The executed event sequences as well as inputs and outputs should be verified within concurrent program testing. Defining event constraints is a way to test the validation of event sequences. The testing technology based on event constraints has many advantages. It was used in tracking and debugging of Ada programs in earlier period. Some constraints have been presented, such as CSPE (Constraints on Succeeding and Preceding Events), which defines the dependency of sequential succeeding and preceding events. Through improving CSPE, E-CSPE defines event constraints under conditional predication, and it is more accurate for describing dependency relationship of events.However, neither CSPE nor E-CSPE is not complete in defining the dependency of sequential succeeding and preceding events, and fails to describe compound events. EE-CSPE formally describes and derives the dependency relationship between concurrent compound events, and extends the definition about exclusive constraints and post-determining constraints among events. Using non-deterministic testing and deterministic testing methods, the adequacy of testing and correctness of tested program can be verified through analysis of coverage or violation between executed event sequences and event constrains. EE-CSPE describes dependency of succeeding and preceding events more completely, and is more effective in finding faults.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-17
1.1 Software Testing Research 8-10
1.2 concurrent program testing research status 10-12
1.3 concurrent program testing research 12-16
1.4 research contents and organization 16-17
2 concurrent program testing 17-29
2.1 concurrent program testing difficult 17-20
2.2 concurrent program testing methods 20-23
2.3 event-based constraints concurrent program testing 23-27
2.4 Summary 27-29
3 EE-CSPE event constraints 29-38
3.1 event dependencies 29-31
3.2 EE-CSPE constraints 31
3.3 EE-CSPE constraint derivation rules 31-34
3.4 EE-CSPE constraint consistency 34-37
3.5 Summary 37-38
4 EE-CSPE constraint -based concurrent program testing 38-43
4.1 sequence of events collected 38
4.2 EE-CSPE constraint -based validation rules 38-41
4.3 EE-CSPE constraint -based test steps 41
4.4 Summary 41-43
5 Case Analysis 43-51
5.1 dining philosophers problem 43-46
5.2 producer - consumer issues 46-49
5.3 Summary 49-51
6 Conclusion 51-53
6.1 This article summarizes 51-52
6.2 further work 52-53
Thanks 53-54
References 54-58
Appendix pursue a degree of academic papers published during 58
Related dissertations
- Research on Reachability Testing of Concurrent Programs Based on Asynchronous Communication
- STGA - based testing of concurrent programs
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application
- The Study and Realization of the Android Tablet Stability Automated Test