位置:成果数据库 > 期刊 > 期刊详情页
An Improved String-Searching Algorithm and Its Application in Component Security Testing
  • ISSN号:1673-5447
  • 期刊名称:《中国通信:英文版》
  • 时间:0
  • 分类:TP311.5[自动化与计算机技术—计算机软件与理论;自动化与计算机技术—计算机科学与技术]
  • 作者机构:[1]江苏大学计算机科学与通信工程学院,江苏镇江212013, [2]易视腾科技有限公司,江苏无锡214135, [3]江苏铭城建筑设计院有限公司,江苏盐城224005
  • 相关基金:国家自然科学基金资助项目(61202110;61502205); 中国博士后基金资助面上项目(2015M571687;2015M581739)
中文摘要:

为了提高软件测试中组合测试的效率,进一步精简组合测试用例的数量,提出了基于矩阵重复度的最小组合测试用例生成算法.首先根据因素个数和每个因素取值个数生成输入矩阵,然后采用比较重复度的方法生成初步的解矩阵;接着验证生成的解矩阵是否能覆盖所有的因素组合,并将没有覆盖的因素组合记录下来;最后采用贪心算法的思想覆盖那些未被覆盖的因素组合,得到最终的解矩阵.解矩阵中的每一行即为一个有效测试用例.最后与常用的组合测试工具ACTS及PICT进行了对比试验,比较了低因素覆盖、高因素覆盖和各因素参数不同的3种情况.试验结果表明,所提出方法在保证因素组合全部覆盖的情况下生成的测试用例个数较少,优于ACTS和PICT,从而证实了该方法的可行性.

英文摘要:

To improve the efficiency of combinatorial testing and reduce the numbers of test cases of combinatorial test, based on matrix repeat degree, an algorithm was proposed to generate the minimum numbers of test cases. An input matrix was generated based on the numbers of factors and the value numbers of each factors. The initial solution matrix was generated by comparing repeat degree of input matrix. The solution matrix was verified to decide whether all combinations of factors were covered, and the uncovered combinations of factors were recorded. To obtain the final solution matrix, the greedy algorithm was used to cover the uncovered combinations of factors. Each row of the solution matrix was a valid test case. The proposed approach was compared with the common combinatorial testing tools of ACTS and PICT for low factors cover, high factors cover and various different parameters. The experimental results show that the proposed approach can generate less numbers of test cases to ensure that all factor combinations are covered. The proposed approach is superior to ACTS and PICT, which proves to be feasible and effective.

同期刊论文项目
同项目期刊论文
期刊信息
  • 《中国通信:英文版》
  • 中国科技核心期刊
  • 主管单位:中国科学技术协会
  • 主办单位:中国通信学会
  • 主编:刘复利
  • 地址:北京市东城区广渠门内大街80号6层608
  • 邮编:100062
  • 邮箱:editor@ezcom.cn
  • 电话:010-64553845
  • 国际标准刊号:ISSN:1673-5447
  • 国内统一刊号:ISSN:11-5439/TN
  • 邮发代号:2-539
  • 获奖情况:
  • 国内外数据库收录:
  • 被引量:187