首页> 外文会议>International conference on tests and proofs;Software technology: applications and foundations >Case Study: Automatic Test Case Generation for a Secure Cache Implementation
【24h】

Case Study: Automatic Test Case Generation for a Secure Cache Implementation

机译:案例研究:自动生成测试案例以实现安全缓存

获取原文

摘要

While many approaches for automatic test case generation have been proposed over the years, it is often difficult to predict which of them may work well on concrete problems. In this paper, we therefore present a case study in automatic, model-based test case generation: We implemented several graph-based methods that compute test cases with a model checker using trap properties, and evaluate these methods on a Secure Block Device implementation. We compare the number of generated test cases, the required generation time and the achieved code coverage. Our conclusions are twofold: First, automatic test case generation is feasible and beneficial for this case study, and even found a real bug in the implementation. Second, simple coverage methods on the model may already yield test suites of sufficient quality.
机译:尽管多年来已经提出了许多用于自动生成测试用例的方法,但是通常很难预测其中哪种方法可以很好地解决具体问题。因此,在本文中,我们在自动的基于模型的测试用例生成中提供了一个案例研究:我们实现了几种基于图的方法,这些方法通过使用具有陷阱属性的模型检查器来计算测试用例,并在安全块设备实现中评估这些方法。我们比较了生成的测试用例的数量,所需的生成时间和已实现的代码覆盖率。我们的结论有两个方面:首先,自动生成测试用例对于本案例研究是可行的并且有益的,甚至在实现中发现了一个真正的错误。其次,模型上的简单覆盖方法可能已经产生了足够质量的测试套件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号