期刊文献+

构件功能行为测试的研究 被引量:5

Research on the Testing of Component Functional Behavior
下载PDF
导出
摘要 由于构件的内部信息屏蔽和演变速度快等特点,使用者在验证构件所提供的功能与其需求是否真正一致时往往比较困难.我们用接口自动机为构件的行为建模,研究构件功能行为的测试问题.首先提出基于简单运行的测试准则,然后介绍了从构件模型中生成简单运行序列并获得功能行为的算法,最后用一个实例对所提出的方法进行了说明并与相关方法进行了对比.文中介绍的方法在系统级别对构件整体行为进行测试,可自动生成测试序列,有利于构件的验证和测试. The component features such as information encapsulating and high evolution bring great challenges to component user when validating if the component function is consistent with user requirement.We use interface automata to model the behavior of component and to study the testing of functional behavior.First,the test criteria based on simple operation is defined,and then the generation algorithm of simple operation sequences is introduced for deriving behavior sequences,after that,the approach is illustrated by an example and compared with the related methods.With the proposed approach we could test the whole behavior of component at system level,moreover,the testing sequences can be generated automatically,therefore facilitate component validation and testing.
出处 《小型微型计算机系统》 CSCD 北大核心 2010年第4期686-690,共5页 Journal of Chinese Computer Systems
基金 国家"八六三"高技术研究发展计划项目(2007AA01Z178)资助 国家"九七三"重点基础研究发展计划项目(2002CB312002)资助
关键词 构件测试 构件行为 测试序列 基于模型的测试 component testing component behavior testing sequence model-based testing
  • 相关文献

参考文献16

  • 1Weyuker E J.Testing component based software:a cautionary tale[J].IEEE Software,September,1998,54-59.
  • 2Lions J L.Ariane 5,flight 501 failure[EB/OL].http://www.di.unito.it/-damiani/ariane5rep.html,19 July 1996.
  • 3de Alfaro L,Henzinger T A.Interface automata[C].Proc.of the 9th Annual ACM Symp.on Foundations of Software Engineering (FSE 2001),2001,109-120.
  • 4Plasil F,Visnovsky S.Behavior protocols for software components[J].IEEE Transactions on Software Engineering November,2002,28(11):1056-1076.
  • 5胡军,于笑丰,张岩,王林章,李宣东,郑国梁.基于场景规约的构件式系统设计分析与验证[J].计算机学报,2006,29(4):513-525. 被引量:40
  • 6张岩,胡军,于笑丰,张天,李宣东,郑国梁.场景驱动的构件行为抽取[J].软件学报,2007,18(1):50-61. 被引量:16
  • 7Lee D,Yannakakis M.Testing finite-state machines:state identification and verification[J].IEEE Transactions on Computer,March 1994,43(3):306 -320.
  • 8Sidhu D P,Leung T K.Formal methods for protocol testing:a detailed study[J].IEEE Transactions on Software Engineering,April 1989,15(4):413-426.
  • 9Yannakakis M,Lee D.Testing finite state machines[C].Proceedings of the Twenty-third Annual ACM Symposium on Theory of Computing,1991,476-485.
  • 10Abdurazik A,Offutt J.Using UML collaboration diagrams for static checking and test generation[C].The Third International Conference on the Unified Modeling Language (UML′00),2000,383-395.

二级参考文献17

  • 1胡军,于笑丰,张岩,王林章,李宣东,郑国梁.基于场景规约的构件式系统设计分析与验证[J].计算机学报,2006,29(4):513-525. 被引量:40
  • 2de Alfaro L,Henzinger T.A.Interface automata.In:Proceedings of the Joint 8th European Software Engineering Conference and the 9th ACM SIGSOFT International Symposium on the Foundations of Software Engineering,Vienna,Austria,2001,109~120
  • 3Booch G,Rumbaugh J,Jacobson I..The Unified Modeling Language User Guide,2nd.Boston:Addison-Wesley,2005
  • 4Damn W,Harel David..LSCs:Breathing life into message sequence charts.Formal Methods in System Design,2001,19(1):45~80
  • 5Peled D.A..Software Reliability Methods.Springer,2001
  • 6Lynch N.A..Input/output automata:Basic,timed,hybrid,probabilistic,dynamic.In:Proceedings of the 14th International Conference on Concurrency Theory,Marseille,France,2003,187~188
  • 7de Alfaro L,Henzinger T.A,Stoelinga M..Timed interfaces.In:Proceedings of the 2nd International Conference on Embedded Software,Grenoble,France,2002,108~122
  • 8Chakrabarti A,de Alfaro L,Henzinger T.A,Stoelinga M..Resource interfaces.In:Proceedings of the 3rd International Conference on Embedded Software,Philadelphia,PA,USA,2003,117~133
  • 9Wen Y,Wang J,Qi Z..Bridging refinement of interface au tomata to forward simulation of I/O automata.In:Proceedings of the 6th International Conference on Formal Engineering Method,Seattle,USA,2004,259~273
  • 10Lee E.A,Xiong Y..System-level types for component-based design.In:Proceedings of the 1st International Workshop on Embedded Software,Tahoe City,CA,USA,2001,237~253

共引文献49

同被引文献40

引证文献5

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部