摘要
文章提出了一种EPON系统测试自动化的四层结构框架和实现方法,完成了对EPON系统中ONU端系统软件的自动化测试。测试软件采用简洁、高效、易移植的TCL/TK语言实现,结构框架中平台脚本和控制脚本相分离,使之具有良好的扩展性。测试过程中将配置命令进行封装,采用API函数操作测试仪,模拟现实网络中的各种不同数据包,实现对Bridge、QOSI、GMP、MSTP等功能的系统测试。提供简洁的操作界面和友好的人机交互,在回归测试中能够快速定位Bug和自动测试过程中的出错信息,有效地解决了手动测试工作量大、耗时、测试结果不一致等问题,提高了测试效率。
During the process of the system testing on EPON(Ethernet Passive Optical Network),it is weird and exhausted for test staff that the diversified commands when testing by manually configuration on CLI(Command Line Interface) and the duplicated efforts when conducting regression testing using forward test cases.This paper presents a four-layer structural framework based on TCL/ TK language,which has successfully implemented the automatic testing on ONU system software.And the software separates the platform script and control script with good scalability.In the testing,configurations are capsulated,and test equipment(Ixia 400) is operated by API function,which simulates the different data packets with different functions in real networks.Thus,it is readily to offer very simple operating interface and friendly human-machine interaction to test staff.Also,it can quickly locate the Bug in regresstion testing and the erroneous information in automatic testing,greatly improving the test efficiency.
出处
《电脑与信息技术》
2010年第4期32-34,共3页
Computer and Information Technology