首页> 外文期刊>Software Engineering, IEEE Transactions on >A Theoretical and Empirical Analysis of the Role of Test Sequence Length in Software Testing for Structural Coverage
【24h】

A Theoretical and Empirical Analysis of the Role of Test Sequence Length in Software Testing for Structural Coverage

机译:理论序列长度在结构覆盖率软件测试中作用的理论和实证分析

获取原文
获取原文并翻译 | 示例
           

摘要

In the presence of an internal state, often a sequence of function calls is required to test software. In fact, to cover a particular branch of the code, a sequence of previous function calls might be required to put the internal state in the appropriate configuration. Internal states are not only present in object-oriented software, but also in procedural software (e.g., static variables in C programs). In the literature, there are many techniques to test this type of software. However, to the best of our knowledge, the properties related to the choice of the length of these sequences have received only a little attention in the literature. In this paper, we analyze the role that the length plays in software testing, in particular branch coverage. We show that, on ȁC;difficultȁD; software testing benchmarks, longer test sequences make their testing trivial. Hence, we argue that the choice of the length of the test sequences is very important in software testing. Theoretical analyses and empirical studies on widely used benchmarks and on an industrial software are carried out to support our claims.
机译:在内部状态下,通常需要一系列功能调用来测试软件。实际上,为了覆盖代码的特定分支,可能需要一系列先前的函数调用才能将内部状态置于适当的配置中。内部状态不仅存在于面向对象的软件中,而且还存在于过程软件中(例如,C程序中的静态变量)。在文献中,有很多技术可以测试这种类型的软件。然而,据我们所知,与这些序列的长度选择有关的特性在文献中仅受到了很少的关注。在本文中,我们分析了长度在软件测试中的作用,尤其是分支覆盖范围。我们证明,在ȁC;困难ȁD;软件测试基准,更长的测试序列使其测试变得微不足道。因此,我们认为测试序列长度的选择在软件测试中非常重要。对广泛使用的基准和工业软件进行了理论分析和实证研究,以支持我们的主张。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号