计算机应用 ›› 2005, Vol. 25 ›› Issue (05): 1052-1054.DOI: 10.3724/SP.J.1087.2005.1052

• 软件技术 • 上一篇    下一篇

内核网络协议栈功能测试自动化的实现

刘渊,王开云,范晓岚,姜建国   

  1. 中国工程物理研究院计算机应用研究所
  • 出版日期:2005-05-01 发布日期:2005-05-25
  • 基金资助:

    中国工程物理研究院面上基金资助项目(20030661)

Implementation of automated function test for kernel network protocol stack

LIU Yuan, WANG Kai-yun, FAN Xiao-lan, JIANG Jian-guo   

  1. Institute of Computer Application, Chinese Academy of Engineering Physics, Mianyang Sichuan 621900, China
  • Online:2005-05-01 Published:2005-05-25

摘要: 在研究手动测试过程的基础上,结合UML技术和Expect语言,提出了一种适用于操作系统内核级网络协议栈软件功能测试的自动化测试模型。在Linux操作系统上,用一个在一台计算机上即可开展的自动化测试示例验证了该模型及其相应技术手段的可行性,初步解决了测试的自动网络配置、自动数据驱动等问题,并在提高测试效率的同时降低了测试对硬件资源的需求。

关键词: 网络协议栈, 自动化功能测试, UML, Expect编程

Abstract: Based on the research of manual testing process, combined with the technology of UML and Expect program, an automated testing model applied to the function test of network protocol stack software in the kernel of the operating system was proposed. In Linux operating system, an automated test case using only one computer was exemplified to verify the feasibility of the model and its corresponding technology. This model settles the test problem of automated network configuration and data-driven, and at the same time reduces the requirements on hardware resources.

Key words: network protocol stack, automated function test, UML, Expect programming

中图分类号: