期刊文献+

带场景和关键路径的商业组件自测试框架

Framework for COTS Component Self-testing with Scenarios and Key Paths
下载PDF
导出
摘要 商业组件的开发者和用户都需要测试组件在未知部署环境下的运行情况.给组件添加自测试功能后,测试效率大为提高.设计了一个商业组件的自测试框架STCCF,在组件代码中嵌入关键运行路径,使用XML描述组件的运行场景、关键路径和与之相关的参数条件,然后读入该描述文件,据此生成基于XML的测试用例集.框架还提供基于反射的自动测试类,执行所有测试用例,并记录测试结果.STCCF已运用到Visual Dware工程,结合工程中一个分布式组件实例介绍它的实现步骤. The component developer and component customer need to test components within unknown deployment environments. The testing is implemented with great efficiency if the self-testing functions are appended to components. To this purpose,we propose one framework named STCCF for self-testing of commercial off-the-shelf component. STCCF injects key run paths into component codes, represents component' s run scenarios, key paths and parameter conditions in XML words. Then, a testing case suit will be generated after reading this XML representation file. The self-testing class based reflection is also provided which can execute all testing cases, and record testing results. STCCF is employed in the project VisualDware. It is introduced how to handle the framework by one practical distributed component in the project.
作者 何海江 肖杰
出处 《小型微型计算机系统》 CSCD 北大核心 2008年第1期93-97,共5页 Journal of Chinese Computer Systems
基金 国家自然科学基金项目(50364004)资助
关键词 商业组件 自测试 场景 关键路径 反射 commercial off-the-shelf component self-testing scenario key path reflection
  • 相关文献

参考文献13

  • 1Bertoa M F, Troya J M, Valleeillo A. Measuring the usability of software components[J]. Journal of Systems and Software, March 2006, 79(3): 427-439.
  • 2Bertolino A, Polini A. A framework for component deployment testing [C]. 25th International Conference on Software Engineering (ICSE2003), Portland, Oregon, May 2003, 221-231.
  • 3Yingxu Wang, Craham King, Hakan Wickburg. A method for built-in tests in eomponent-based software maintenanee[C]. In: Proe 3rd European Conferenee on Software Maintenanee and Reengineering, 1999, 186-189.
  • 4Gao J, Gupta K, Gupta S, et al. On building testable software components[C]. In: Dean J, Gravel A, Eds, Proc. ICCBSS 2002. LNCS 2255, 108-121.
  • 5Edwards S H. A framework for practical, automated black-box testing of component-based software[J]. Journal of Software Testing, Verification and Reliability, 2001, 11(2): 97-111.
  • 6Martins E, Toyota C, Yanagawa R. Constructing self-testable software components[C]. In: Proceedings of the 2001 International Conference on Dependable Systems and Networks (DSN' 01), Washington-Brussels-Tokyo, IEEE, 2001, 151-160.
  • 7Antonia Bertolino, Andrea Polini. WCT: a wrapper for component testing [C]. In: Proceedings of International Workshop Fidji' 2002, volume 2604 of LNCS, Luxembourg, Novermber 28-29 2002, 141-151.
  • 8Atkinson C, Groβ H-G. Built-in contract testing in model-driven, component-based development[C]. In: ICSR Workshop on Component-Based Development Processes, 2002.
  • 9Sami Beydeda, Volker Gruhn. Merging components and testing tools: the self-testing COTS components (STECC)strategy [C]. In.. EUROMICRO Conference Component-based Software Engineering Track. IEEE Computer Society Press, 2003.
  • 10Leonardo Mariani, Mauro Pezze, David Willmor. Generation of selft-test components[C]. 1st International Workshop on Integration of Testing Methodologies, Proceedings Applying Formal Methods: Testing, Performance and M/ECommerce, FORTE 2004 Workshops The FormEMC, EPEW, ITM, Manuel Nunez, Zakaria Maamar, Fernando L Pelayo, Key Pousttchi, Fernando Rubio (eds), Lecture Notes in Computer Science (LNCS), Springer, Toledo (Spain), 1-2 October, 2004, volume 3236, 337-350.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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