首页> 中文期刊> 《计算机工程与设计》 >采用扩展π演算的测试用例生成方法

采用扩展π演算的测试用例生成方法

         

摘要

To generate test case by considering the questions in testing for time-dependent concurrent systems,a method based on an extendedπ-calculus p-πwas presented.The p-πwas employed to describe behaviors of time-dependent concurrent systems. Operational rules were utilized to construct the time-dependent labelled transition system (TDLTS)of the system.By means of TDLTS and use case specification,test case was generated according to the executable action,path and time constraint coverage criterion.The selection strategies of test case were given.The experimental analyses of online booking system (OBS)show that this approach can be used to generate test case for time-dependent concurrent systems.In addition,the verification based on p-πensures the correctness of generated test case.%针对时间相关并发系统的测试问题,提出一种采用扩展π演算 p-π的测试用例生成方法。采用 p-π为时间相关并发系统建模,由 p-π的操作规则构造出系统模型的时间相关标记迁移系统,基于时间相关标记迁移系统和用例规约生成测试用例,测试用例的生成满足执行动作覆盖准则、路径覆盖准则和时间约束覆盖准则,给出测试用例的选择策略。基于网上订票系统的分析结果表明,该方法能够为时间相关并发系统有效地生成测试用例,通过 p-π的验证方法,保证了产生的测试用例的正确性。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号