首页> 外文会议>IEEE International Conference on Software Maintenance >Testing C#x002B;#x002B; generic libraries
【24h】

Testing C#x002B;#x002B; generic libraries

机译:测试C ++通用库

获取原文

摘要

We describe a novel methodology for systematic and rigorous testing of C++ generic libraries: separate testing. The approach is based on separate testing of generic (template) algorithms and data structures and of user-defined types that will be used with the library. Templates are tested against specifications using representative types called prototypes that contain metadata which is used to query otherwise unobservable properties of the input types and values. User-defined types are tested against the concepts required by the generic components of the library. Testing separately minimizes the required effort while fully exercising all components involved. The methodology is supported by the Origin Testing library, which is, in turn, being used to test the remainder of the Origin C++ 11 libraries.
机译:我们描述了一种新颖的C ++通用库进行系统和严格测试的方法:单独测试。该方法基于对普通(模板)算法和数据结构以及将与库一起使用的用户定义类型的单独测试。使用名为原型的代表类型测试模板,该类型包含包含元数据的原型,该原型可用于查询输入类型和值的其他不可检测的属性。针对库的通用组件所需的概念测试用户定义的类型。测试单独最大限度地减少所需的工作,同时完全行使所涉及的所有组件。该方法由原点测试库支持,依次用于测试原点C ++ 11库的其余部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号