首页 | 本学科首页   官方微博 | 高级检索  
     

基于有限状态进程的事件约束定义
引用本文:顾庆,陈道蓄,谢立,韩杰,孙钟秀.基于有限状态进程的事件约束定义[J].软件学报,2002,13(11):2162-2168.
作者姓名:顾庆  陈道蓄  谢立  韩杰  孙钟秀
作者单位:南京大学,计算机软件新技术国家重点实验室,江苏,南京,210093
基金项目:国家"九五"重点科技攻关项目(98-780-01-07-03)
摘    要:测试分布式程序需要定义事件约束来检测程序执行产生的事件序列.事件约束需要根据程序的规约来推导.FSP是一类描述并发程序形式化规约的进程代数记法.它将并发进程描述为动作序列,其中动作可对应到规约级事件.E-CSPE约束在给定状态谓词下定义前后运行事件间的顺序关系.根据FSP的操作符和并发控制机制可推导E-CSPE约束.推导出来的E-CSPE约束考虑到并发程序的安全和进展属性,可据以判断程序运行的正确性和测试的充分性.

关 键 词:软件测试  有限状态进程  基于规约的测试  并发程序  事件约束
文章编号:1000-9825/2002/13(11)2162-07
收稿时间:3/6/2001 12:00:00 AM
修稿时间:8/1/2001 12:00:00 AM

Event Constraints Definition Based on Finite State Process
GU Qing,CHEN Dao-xu,XIE Li,HAN Jie and SUN Zhong-xiu.Event Constraints Definition Based on Finite State Process[J].Journal of Software,2002,13(11):2162-2168.
Authors:GU Qing  CHEN Dao-xu  XIE Li  HAN Jie and 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.
Keywords:software testing  finite state process  specification-based testing  concurrent programs  event sequencing constraints
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号