收稿日期: 2010-12-08
修回日期: 2011-02-20
网络出版日期: 2011-09-30
基金资助
国家自然科学基金(No.60970007, No.61073050);上海市自然科学基金(No.09ZR1412100);上海市科学技术委员会项目基金(No.10510704900);上海市重点学科建设项目基金(No.J50103)资助
Generate Safety Property Tests Using Model Checking
Received date: 2010-12-08
Revised date: 2011-02-20
Online published: 2011-09-30
曾红卫1, 缪淮扣1;2 . 用模型检验产生安全性质的测试[J]. 应用科学学报, 2011 , 29(5) : 529 -536 . DOI: 10.3969/j.issn.0255-8297.2011.05.014
Abstract: Safety-critical systems must satisfy given safety properties. Generally, the method of "verificationthen-testing" does not guarantee that the given safety properties are tested because test generation is independent of given properties. In this paper, we propose to test safety properties based on the input-output labeled transition system. Output mutations are applied to construct the output-complete model of an implementation under test. Test cases are generated by finding out dangerous traces. We give safety property test criteria based on the structural graph coverage, and propose a method to formalize the test criteria. NuSMV is used to
model check the output-complete model to generate the test cases that are relevant to the given safety property and satisfy the structural coverage.
Key words: safety property; model checking; test generation; dangerous trace
/
| 〈 |
|
〉 |