首页> 外文会议>International Conference on Automation, Control and Robotics Engineering >Interface Byte Stream Parsing Algorithm for Black Box Test Cases Automatic Generation
【24h】

Interface Byte Stream Parsing Algorithm for Black Box Test Cases Automatic Generation

机译:黑匣子测试用例自动生成接口字节流解析算法

获取原文
获取外文期刊封面目录资料

摘要

Traditional black box test cases are mostly generated by manual methods and are difficult to automate. This is caused by the diversification of software module's input interface. In this paper, an intelligent black box test case automatic generation algorithm referred to as Interface Byte Stream Parsing (IBSP) is proposed. In this algorithm, the input interface of the software module to be tested is firstly abstracted as the number of bytes occupied by the input parameters of the module, and a section of dynamic memory is applied, then a binary sequence is generated in the dynamic memory by using Dynamic Memory Increment (DMI) or Random Sampling (RS) method. Follow that, the type information contained in the interface is inputted through the software module to be tested. The binary sequence is parsed into the input data of the software module to be tested, and the input data is filtered by using the filter conditions. Finally, the test expectations given by the user and the filtered input data constitute the test cases. For improving the performance of the algorithm, a testing experiment is conducted. The experimental result shows that the algorithm facilitates the automatic generation of test cases in software testing, improves the efficiency of test case generation, and has been initially applied.
机译:传统的黑匣子测试案例主要由手动方法产生,并且难以自动化。这是由软件模块输入接口的多样化引起的。在本文中,提出了一种智能黑匣子测试案例,其被称为接口字节流解析(IBSP)。在该算法中,首先向要测试的软件模块的输入接口作为模块的输入参数占据的字节数,并且应用了动态存储器的一部分,然后在动态存储器中生成二进制序列通过使用动态内存增量(DMI)或随机采样(RS)方法。如此,通过要测试的软件模块来输入接口中包含的类型信息。二进制序列被解析到要测试的软件模块的输入数据中,并且通过使用过滤条件来滤除输入数据。最后,由用户给出的测试期望和过滤的输入数据构成了测试用例。为了提高算法的性能,进行了测试实验。实验结果表明,该算法有助于在软件测试中自动生成测试用例,提高了测试用例的效率,并已最初应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号