Temporal Test Generation for Embedded System Based on Correlation Analysis of Timing Constraints

Bo Wang,Xiaoying Bai,Wenguang Chen,Xiaoyu Song
DOI: https://doi.org/10.1007/978-981-10-3482-4_15
2016-01-01
Abstract:Timing constraints are critical to real-time embedded software. However, it is hard to verify and validate system temporal correctness when there exist multiple timing constraints with complex inter-dependencies. To facilitate temporal testing, the paper systematically analyzes the characteristics of timing constraints and their correlation patterns, using a modeling technique called Extended Semantic Interface Automata (ESIA). A Correlation-Based Partition Testing (CBPT) approach is proposed to generate temporal test cases. The value of time variables are sampled from equivalent partitions of test domain, which are identified by taking constraints and constraint correlations into considerations. Each partition of test vectors represents a typical timing scenario, such that the sampled test cases can validate both the correctness of system normal functionalities and system robustness in reaction to timing exceptions. The strategies to search and calculate test data are designed. Experiments are exercised on a Satellite Positioning System (SPS) software. The results show that the proposed approach can effectively reduce test cost, enhance test coverage, and efficiently detect various temporal defects.
What problem does this paper attempt to address?