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

基于状态机模型的构件健壮性测试
引用本文:雷 斌,王林章,卜 磊,李宣东.基于状态机模型的构件健壮性测试[J].软件学报,2010,21(5):930-941.
作者姓名:雷 斌  王林章  卜 磊  李宣东
作者单位:南京大学,计算机软件新技术国家重点实验室,江苏,南京,210093;南京大学,计算机科学与技术系,江苏,南京,210093
基金项目:国家自然科学基金,国家高技术研究发展计划(863计划),江苏省自然科学基金 
摘    要:基于形式化的构件语义定义了健壮性,并提出一种基于状态机的构件健壮性测试方法.基于该方法实现了原型工具RoTesCo.首先遍历状态机生成一组覆盖所有转换的路径,基于这些路径的测试用例驱动构件发生状态转换;然后用无效输入和不当调用在构件的不同状态来测试其健壮性.通过区分测试中捕获异常的类别,自动报告健壮性错误.以通用的开源项目构件组成评测平台,实验数据显示,RoTesCo的测试效率比已有的算法表现得更优越.

关 键 词:软件测试  构件  健壮性  状态机  无效输入
收稿时间:2008/8/26 0:00:00
修稿时间:2008/11/28 0:00:00

Robustness Testing for Components Based on State Machine Model
LEI Bin,WANG Lin-Zhang,BU Lei and LI Xuan-Dong.Robustness Testing for Components Based on State Machine Model[J].Journal of Software,2010,21(5):930-941.
Authors:LEI Bin  WANG Lin-Zhang  BU Lei and LI Xuan-Dong
Affiliation:LEI Bin1,2,WANG Lin-Zhang1,BU Lei1,LI Xuan-Dong1,2+ 1(State Key Laboratory for Novel Software Technology,Nanjing University,Nanjing 210093,China) 2(Department of Computer Science , Technology,China)
Abstract:This paper defines robustness based on a formal semantics of component system, and proposes a testing framework to detect robustness problems. The approach is implemented in a tool named RoTesCo (robustness testing for components). It traverses the state machine of the component under testing to generate paths, which cover all the transitions. Firstly, the call sequences following the paths drive the component to different states. Secondly, it feeds method calls with invalid parameters or inopportune calls ...
Keywords:software testing  component  robustness  state machine  invalid input  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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