首页> 外文会议>2011 IEEE 2nd International Conference on Software Engineering and Service >A practical approach to assertion testing framework based on inner class
【24h】

A practical approach to assertion testing framework based on inner class

机译:一种基于内部类的断言测试框架的实用方法

获取原文

摘要

Using logical assertions for program verification is a basic research subject in software engineering. This paper analyzes current approaches and proposes three rules that an assertion testing framework should satisfy. That is, after adding contracts using a framework, the contracts in a tested project should be able to satisfy consistency, transitivity and completeness. By satisfying these three rules, the contracts can perform as a solid foundation for automatic test case generation. This paper also brings forward a practical approach to writing contracts, the Java Test Oracle Creator (jtoc), which uses Java annotations and Java inner class to construct intelligible contracts for programmers. Finally, a proof is given that jtoc-generated test projects satisfy the three rules proposed above.
机译:使用逻辑断言进行程序验证是软件工程的基础研究课题。本文分析了当前的方法,并提出了断言测试框架应满足的三个规则。也就是说,在使用框架添加合同之后,经过测试的项目中的合同应该能够满足一致性,可传递性和完整性。通过满足这三个规则,这些合同可以作为自动生成测试用例的坚实基础。本文还提出了一种实用的合同编写方法,即Java Test Oracle Creator(jtoc),它使用Java批注和Java内部类为程序员构造可理解的合同。最后,给出了一个证明,jtoc生成的测试项目满足上述三个规则。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号