引用本文:顾庆,陈道蓄,谢立,韩杰,孙钟秀.基于有限状态进程的事件约束定义.软件学报,2002,13(11):2162-2168
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4236次   下载 6480 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于有限状态进程的事件约束定义
顾庆1, 陈道蓄1, 谢立1, 韩杰1, 孙钟秀1
南京大学,计算机软件新技术国家重点实验室,江苏,南京,210093
摘要:
测试分布式程序需要定义事件约束来检测程序执行产生的事件序列.事件约束需要根据程序的规约来推导.FSP是一类描述并发程序形式化规约的进程代数记法.它将并发进程描述为动作序列,其中动作可对应到规约级事件.E-CSPE约束在给定状态谓词下定义前后运行事件间的顺序关系.根据FSP的操作符和并发控制机制可推导E-CSPE约束.推导出来的E-CSPE约束考虑到并发程序的安全和进展属性,可据以判断程序运行的正确性和测试的充分性.
关键词:  软件测试  有限状态进程  基于规约的测试  并发程序  事件约束
DOI:
分类号:
基金项目:国家"九五"重点科技攻关项目(98-780-01-07-03)
Event Constraints Definition Based on Finite State Process
GU Qing,CHEN Dao-xu,XIE Li,HAN Jie,SUN Zhong-xiu
Abstract:
When a distributed program is under test, event sequencing constraints should be defined to check the event sequences generated after the program was executed. Those event constraints shall be derived from specifications of the program. FSP is a kind of process algebra notation that can be used to describe formal specifications of concurrent programs. FSP describes concurrent processes as action sequences, where an action can be mapped to a specification-level event. The E-CSPE constraints define the sequential relationship between any two runtime events under given state predicates. Based on the operators and concurrency control facilities within FSP,the E-CSPE constraints can be derived. Those derived E-CSPE constraints consider the safety and liveness properties of the concurrent program, and based on them both the correctness of the program execution and the sufficiency of the test work can be judged.
Key words:  software testing  finite state process  specification-based testing  concurrent programs  event sequencing constraints

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: